code: def t(duration: float) -> str:
      if duration is None:
          return "n/a"
      if duration < 1:
          return f"{(1000*duration):0.3f}ms"
      elif duration < 60:
          return f"{duration:0.3f}s"
      else:
          return f"{duration//60}min{int(duration%60)}s"
  
imports: import functools
  import importlib
  from typing import Any
label_desc: Use image node_id 1 for calling a global function with example usage: t(duration) and returns: str, unknown, str, duration, str, unknown, str, int, str