code: def check_project_id(project_id):
      check_command = "gcloud projects describe " + project_id
      while not subprocess.getoutput(check_command).startswith(
          "createTime"
      ):
          print(
              f"Project {project_id} doesn't exist or can't be accessed."
          )
          project_id = input("Project ID: ")
          check_command = "gcloud projects describe " + project_id
      return project_id
  
imports: import datetime
  import os
  import subprocess
  from absl import app
  from absl import flags
  from google.cloud import storage
label_desc: Use image node_id 6 for calling a global function with example usage: check_project_id(project_id) and returns: project_id