code: def _validate_name(
      name: str, resource_type: str, example: str
  ) -> Tuple[str, str]:
      # ensure resource identifier is properly formatted
      try:
          org, resource = name.split("/")
      except Exception:
          raise SystemExit(
              f"""
          {resource_type} name format must have organization/{resource_type}-name
  
          Examples:
          {example}
          user/{resource_type}-name
  
          You passed in: {name}
          """
          )
      return org, resource
  
imports: import os
  import re
  import shutil
  import subprocess
  import sys
  from typing import Dict, Optional, Tuple
  import click
  import requests
  from packaging.version import Version
  from lightning.app.core.constants import LIGHTNING_APPS_PUBLIC_REGISTRY, LIGHTNING_COMPONENT_PUBLIC_REGISTRY
  from lightning.app.utilities.app_helpers import Logger
label_desc: Use image node_id 15 for calling a global function with example usage: _validate_name(name, resource_type, example) and returns: org,  resource