def METHOD_NAME(self, source_text, document=None):
    if document is None:
        document = self.document
    evaluator = kql.get_evaluator(source_text, optimize=False)
    return evaluator(document)