def check_condition(condition, defined_variables):
    name, op, value = condition['name'], condition['operator'], condition['value']
    operator_type = _get_variable_value(defined_variables, name)
    return _do_operator_comparison(operator_type, op, value)
Handles text written to stdout.
dataset/ETHPy150Open venmo/business-rules/business_rules/engine.py/check_condition--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/plugins/python_shell/view/python_shell_view.py/PythonShellView._write_stdout