code: def most_recent_subdir(path):
      base_path = Path(path)
      subdirectories = [d for d in base_path.iterdir() if d.is_dir()]
      if not subdirectories:
          return None
      subdir = max(subdirectories, key=os.path.getctime)
  
      return subdir
  
imports: import os
  import shutil
  import tempfile
  from functools import wraps
  from pathlib import Path
label_desc: Use image node_id 2 for calling a global function with example usage: most_recent_subdir(path) and returns: subdir, None