def ask(self, query):
for result in self.ask_generator(query):<EOL><INDENT>return result<EOL><DEDENT>return False<EOL>
Return a substitution that makes the query true, or,
        failing that, return False.