code: def _check_if(context, node):
      with execution_allowed(context.evaluator, node) as allowed:
          if not allowed:
              return UNSURE
  
          types = context.eval_node(node)
          values = set(x.py__bool__() for x in types)
          if len(values) == 1:
              return Status.lookup_table[values.pop()]
          else:
              return UNSURE
  
file_path: catboost/contrib/python/jedi/py2/jedi/evaluate/flow_analysis.py
imports: from jedi.parser_utils import get_flow_branch_keyword, is_scope, get_parent_scope
  from jedi.evaluate.recursion import execution_allowed
label_desc: Use image node_id 4 for calling a global function with example usage: _check_if(context, node) and returns: UNSURE, Status, UNSURE