def METHOD_NAME(self,controlKey,activeFlag):
    if controlKey == PlasmaControlKeys.kKeyExitMode:
        self.IQuitTelescope()
    elif controlKey == PlasmaControlKeys.kKeyMoveBackward or controlKey == PlasmaControlKeys.kKeyRotateLeft or controlKey == PlasmaControlKeys.kKeyRotateRight:
        self.IQuitTelescope()