code: def _safe_serialization_directory():
      global __serialization_directory
  
      from pickle import PickleError
  
      if __serialization_directory is None:
          expected_error = (
              TypeError if (_version_info[0] == 3) else PickleError
          )
  
          raise expected_error(
              "Serialization directory not set to enable pickling or unpickling. "
              "Set using turicreate.data_structures.serialization.enable_sframe_serialization()."
          )
  
      return __serialization_directory
  
imports: from sys import version_info
label_desc: Use image node_id 3 for calling a global function with example usage: _safe_serialization_directory() and returns: __serialization_directory