code: def check_version(user_v, new_v) -> bool:
      for uv, nw in zip(user_v.split("."), new_v.split(".")):
          if int(nw) == int(uv):
              continue
          elif int(nw) > int(uv):
              return True
          else:
              return False
  
file_path: labml/app/server/labml_app/utils/__init__.py
imports: import time
  from typing import Callable, List
  from uuid import uuid4
  from functools import wraps
label_desc: Use image node_id 1 for calling a global function with example usage: check_version(user_v, new_v) and returns: True, False