code: def is_auth(self) -> bool:
      if self.user is None:
          return False
      if self.is_local_user:
          return True
  
      return self.expiration > time.time()
  
file_path: labml/app/server/labml_app/db/app_token.py
imports: import time
  from uuid import uuid4
  from labml_db import Model, Key, Index
  from .None import user
label_desc: Use image node_id 2 for calling the AppToken obj's underlying member method code with example usage: obj.is_auth() and returns: unknown, False, True