code: def _is_new_run_added(request: Request) -> bool:
      is_run_added = False
      u = auth.get_auth_user(request)
      if u:
          is_run_added = u.default_project.is_run_added
  
      return is_run_added
  
imports: import asyncio
  import inspect
  import sys
  from typing import Callable, Dict, Any, Optional
  from fastapi import FastAPI, Request
  from fastapi.responses import JSONResponse
  from .analyses.experiments import metrics
  from .analyses.experiments.metrics import MetricsAnalysis
  from .logger import logger
  from .None import settings
  from .None import auth
  from .db import run
  from .db import computer
  from .db import session
  from .db import user
  from .db import project
  from .None import utils
  from .None import analyses
label_desc: Use image node_id 1 for calling a global function with example usage: _is_new_run_added(request) and returns: is_run_added