def IsCommandValid(CheckCommand): if CheckCommand not in POSModule.GetInputCommands(): return 0 #yes its invalide command else: return 1 #Command is valid
def GetInputCommand(): return POSModule.GetInputCommands()