code: def should_run_sync() -> bool:
      dev_lock = Path(__file__).parent.parent.joinpath(
          "requirements-dev.lock"
      )
  
      for line in dev_lock.read_text().splitlines():
          if not line or line.startswith("#") or line.startswith("-e"):
              continue
  
          dep, lock_version = line.split("==")
  
          try:
              version = importlib_metadata.version(dep)
  
              if lock_version != version:
                  print(
                      f"mismatch for {dep} current={version} lock={lock_version}"
                  )
                  return True
          except Exception:
              print(f"could not import {dep}")
              return True
  
      return False
  
label_desc: Use image node_id 1 for calling a global function with example usage: should_run_sync() and returns: False, True, True