code: def get_node_type(node):
      if node["val"]:
          return "val"
      elif node["test"]:
          return "test"
      else:
          return "train"
  
file_path: euler/tf_euler/python/dataset/sage_util.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import json
  import os
  import random
  import numpy
  import networkx
  from networkx.readwrite import json_graph
label_desc: Use image node_id 2 for calling a global function with example usage: get_node_type(node) and returns: str, str, str