package tpe.exceptions;
public class RobotIllegalStateException {
public boolean illegalState(boolean powerSwitch) {
if(powerSwitch=false)
{
return false;
}
else
return true;