code: def get(node, class_):
      if hasattr(node, "metadata"):
          return [s for s in node.metadata if isinstance(s, class_)]
      else:
          return []
  
file_path: catboost/contrib/python/pythran/pythran/metadata.py
imports: from gast import AST
label_desc: Use image node_id 2 for calling a global function with example usage: get(node, class_) and returns: unknown, list