class_docstr: BaseInteractiveApp is a base class for creating/accessing apps hosted on SageMaker.
docstr: Validate training job name format.
  
  Args:
      job_name (str): The job name to validate.
  
  Returns:
      bool: Whether the supplied job name is valid.
docstr_tok: ["Validate","training","job","name","format",".","Args",":","job_name","(","str",")",":","The","job","name","to","validate",".","Returns",":","bool",":","Whether","the","supplied","job","name","is","valid","."]
code: def _validate_job_name(self, job_name: str):
      """Validate training job name format.
  
      Args:
          job_name (str): The job name to validate.
  
      Returns:
          bool: Whether the supplied job name is valid.
      """
      job_name_regex = "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}"
      if not re.fullmatch(job_name_regex, job_name):
          raise ValueError(
              f"Invalid job name. Job name must match regular expression {job_name_regex}"
          )
  
imports: from __future__ import absolute_import
  import abc
  import base64
  import json
  import logging
  import os
  import re
  import webbrowser
  from typing import Optional
  import boto3
  from sagemaker.session import Session, NOTEBOOK_METADATA_FILE
label_desc: Use image node_id 7 for calling the BaseInteractiveApp obj's underlying member method code with example usage: obj._validate_job_name(job_name) without return types