code: def _check_fetches(fetches):
      is_list_fetch = isinstance(fetches, (list, tuple))
      if not is_list_fetch:
          return [fetches]
      return fetches
  
imports: import tensorflow
  import numpy
  import logging
  import tempfile
  import pandas
  from pyspark import RDD, SparkContext
  from pyspark.sql import SQLContext, Row, DataFrame
  from pyspark.sql.types import DoubleType, IntegerType, LongType, FloatType, ArrayType
label_desc: Use image node_id 6 for calling a global function with example usage: _check_fetches(fetches) and returns: fetches, list