def _do_operator_comparison(operator_type, operator_name, comparison_value):
    def fallback(*args, **kwargs):
        raise AssertionError("Operator {0} does not exist for type {1}".format(
            operator_name, operator_type.__class__.__name__))
    method = getattr(operator_type, operator_name, fallback)
    if getattr(method, 'input_type', '') == FIELD_NO_INPUT:
        return method()
    return method(comparison_value)
Finds the method on the given operator_type and compares it to the
dataset/ETHPy150Open venmo/business-rules/business_rules/engine.py/_do_operator_comparison