code: def to_string(status):
      if status not in SourceType.SOURCETYPE_TO_STRING:
          raise Exception(
              f"Could not get string corresponding to run status {status}. Valid run "
              f"statuses: {list(SourceType.SOURCETYPE_TO_STRING.keys())}"
          )
      return SourceType.SOURCETYPE_TO_STRING[status]
  
label_desc: Use image node_id 2 for calling the SourceType obj's underlying member method code with example usage: obj.to_string(status) and returns: SourceType