code: def _is_last_check_time_outdated() -> bool:
      path = _get_last_check_path()
      if not path.exists():
          return True
      current_datetime = datetime.now()
      modified_datetime = datetime.fromtimestamp(path.stat().st_mtime)
      return (
          modified_datetime.timetuple().tm_yday
          != current_datetime.timetuple().tm_yday
          or modified_datetime.year != current_datetime.year
      )
  
file_path: dstack/src/dstack/_internal/cli/utils/updates.py
imports: import uuid
  from datetime import datetime
  from pathlib import Path
  from typing import Optional
  import requests
  from packaging import version
  from dstack import version
  from dstack._internal.cli.utils.common import console
  from dstack._internal.utils.logging import get_logger
label_desc: Use image node_id 3 for calling a global function with example usage: _is_last_check_time_outdated() and returns: unknown, True