code: def check_repo_is_bokeh(
      config: Config, system: System
  ) -> ActionReturn:
      try:
          system.run("git status")
      except RuntimeError:
          return FAILED("Executing outside of a git repository")
  
      try:
          remote = system.run("git config --get remote.origin.url")
          if remote.strip() in (
              "git@github.com:bokeh/bokeh.git",
              "https://github.com/bokeh/bokeh",
          ):
              return PASSED(
                  "Executing inside the the bokeh/bokeh repository"
              )
          else:
              return FAILED(
                  f"Executing OUTSIDE the bokeh/bokeh repository (bad remote: {remote})"
              )
      except RuntimeError as e:
          return FAILED(
              "Could not determine Git config remote.origin.url",
              details=e.args,
          )
  
imports: from __future__ import annotations
  import json
  import os
  from pathlib import Path
  from packaging.version import Version
  from .action import FAILED, PASSED, ActionReturn
  from .config import Config
  from .pipeline import StepType
  from .system import System
  from .util import skip_for_prerelease
label_desc: Use image node_id 2 for calling a global function with example usage: check_repo_is_bokeh(config, system) and returns: FAILED, PASSED, FAILED, FAILED