code: 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)
docs: Checks a single rule condition - the condition will be made up of
      variables, values, and the comparison operator. The defined_variables
      object must have a variable defined for any variables in this condition.