<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _do_operator_comparison(operator_type, operator_name, comparison_value):
 """ Finds the method on the given operator_type and compares it to the given comparison_value. operator_type should be an instance of operators.BaseType comparison_value is whatever python type to compare to returns a bool """

    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)