code: def get_labels(col_name, labels):
      df[col_name] = [[] for _ in range(len(df))]
      for _, row in df.iterrows():
          row[col_name] = "None"
          for label in labels:
              if label in row["labels"]:
                  row[col_name] = label
                  break
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_labels(col_name, labels) without return types