code: def clean_time(utter):
      utter = re.sub(
          r"(\d+) ([ap]\.?m)", lambda x: x.group(1) + x.group(2), utter
      )  # 9 am -> 9am
      utter = re.sub(r"((?<!\d)\d:\d+)(am)?", r"0\1", utter)
      utter = re.sub(r"((?<!\d)\d)am", r"0\1:00", utter)
      utter = re.sub(
          r"((?<!\d)\d)pm",
          lambda x: str(int(x.group(1)) + 12) + ":00",
          utter,
      )
      utter = re.sub(
          r"(\d+)(:\d+)pm",
          lambda x: str(int(x.group(1)) + 12) + x.group(2),
          utter,
      )
      utter = re.sub(r"(\d+)a\.?m", r"\1", utter)
      return utter
  
imports: import re
  from .None import ontology
label_desc: Use image node_id 3 for calling a global function with example usage: clean_time(utter) and returns: utter