code: def _node_attributes(node):
      attr = dict()
      for at in node.attribute:
          attr[at.name] = at
      return attr
  
file_path: OMLT/src/omlt/gbt/gbt_formulation.py
imports: import collections
  import numpy
  import pyomo.environ
  from omlt.formulation import _PyomoFormulation, _setup_scaled_inputs_outputs
  from omlt.gbt.model import GradientBoostedTreeModel
label_desc: Use image node_id 2 for calling a global function with example usage: _node_attributes(node) and returns: attr