code: def start_server_validate_args(self, args):
      if not args.app:
          print("APP Directory NOT provided")
          exit(1)
  
      if not args.studies:
          print("STUDIES Path/Directory NOT provided")
          exit(1)
  
      if not os.path.exists(args.app):
          print(f"APP Directory {args.app} NOT Found")
          exit(1)
  
      if (
          not args.studies.startswith("http://")
          and not args.studies.startswith("https://")
          and not os.path.exists(args.studies)
      ):
          print(
              f"STUDIES Directory {args.studies} NOT Found;  Creating an EMPTY folder/placeholder"
          )
          os.makedirs(args.studies, exist_ok=True)
  
      args.app = os.path.realpath(args.app)
      if not args.studies.startswith(
          "http://"
      ) and not args.studies.startswith("https://"):
          args.studies = os.path.realpath(args.studies)
  
      for arg in vars(args):
          logger.info(f"USING:: {arg} = {getattr(args, arg)}")
  
      sensitive = [
          "MONAI_LABEL_DICOMWEB_PASSWORD",
          "MONAI_ZOO_AUTH_TOKEN",
          "MONAI_LABEL_DATASTORE_PASSWORD",
          "MONAI_LABEL_DATASTORE_API_KEY",
      ]
      for k, v in settings.dict().items():
          v = (
              f"'{json.dumps(v)}'"
              if isinstance(v, list) or isinstance(v, dict)
              else v
          )
          logger.debug(
              f"ENV SETTINGS:: {k} = {'*' * len(v) if k in sensitive else v}"
          )
      logger.info("")
  
imports: import argparse
  import json
  import logging
  import os
  import pathlib
  import platform
  import shutil
  import sys
  import uvicorn
  from monailabel import print_config
  from monailabel.config import settings
  from monailabel.utils.others.generic import init_log_config
label_desc: Use image node_id 14 for calling the Main obj's underlying member method code with example usage: obj.start_server_validate_args(args) without return types