code: def restricted_loads(s):
      """Helper function analogous to pickle.loads()"""
      return RestrictedUnpickler(io.BytesIO(s)).load()
  
imports: import logging
  from six.moves import cPickle
  import io
label_desc: Use image node_id 1 for calling a global function with example usage: restricted_loads(s) and returns: RestrictedUnpickler