code: def is_true_predicate(node):
      # FIXME: there may be more patterns here
      if isnum(node) and node.value:
          return True
      if isinstance(node, ast.Attribute) and node.attr == "True":
          return True
      if isinstance(node, (ast.List, ast.Tuple, ast.Set)) and node.elts:
          return True
      if isinstance(node, ast.Dict) and node.keys:
          return True
      return False
  
file_path: catboost/contrib/python/pythran/pythran/analyses/cfg.py
imports: from pythran.passmanager import FunctionAnalysis
  from pythran.utils import isnum
  from pythran.graph import DiGraph
  import gast
label_desc: Use image node_id 1 for calling a global function with example usage: is_true_predicate(node) and returns: False, True, True, True, True