public bool IsRunning() { if (IsRunning(portleft) || IsRunning(portright)) return true; return false; } private bool IsRunning(BrickPortMotor port)