code: def unpack_if_needed(data):
      if is_compressed(data):
          data = unpack(data)
      return data
  
file_path: ray/rllib/utils/compression.py
imports: from ray.rllib.utils.annotations import DeveloperAPI
  import logging
  import time
  import base64
  import numpy
  from ray import cloudpickle
label_desc: Use image node_id 5 for calling a global function with example usage: unpack_if_needed(data) and returns: data