def __getattr__(self, name):
def method(*args):<EOL><INDENT>return None<EOL><DEDENT>if '<STR_LIT>' not in name:<EOL><INDENT>logging.debug('<STR_LIT>'.format(name))<EOL><DEDENT>return method<EOL>
Return false for methods called on GameStates which don't have those methods.
        This should be ok, since __getattr__ is only called as a last resort
        i.e. if there are no attributes in the instance that match the name

        source: http://stackoverflow.com/a/2405617/1817465