code: def dumps_base64(obj, to_ascii=True):
      serialized = cloudpickle.dumps(
          obj, protocol=pickle.HIGHEST_PROTOCOL
      )
      encoded = base64.b64encode(serialized)
      return encoded.decode("ascii") if to_ascii else encoded
  
imports: import base64
  import pickle
  import cloudpickle
label_desc: Use image node_id 2 for calling a global function with example usage: dumps_base64(obj, to_ascii) and returns: unknown