(self, command)
return clean_command(command.split()[0]) in self.commands
Checks if a raw command is a command.
Checks if a raw command is a command.
Checks if a raw command is a command .
def is_command(self, command):
        # type: (str) -> bool
        '''Checks if a raw command is a command.'''
        return clean_command(command.split()[0]) in self.commands
def is_command ( self , command ) : # type: (str) -> bool return clean_command ( command . split ( ) [ 0 ] ) in self . commands