code: def validate_gate():
      
      try:
          credentials = get_env_credential()
          LOG.debug('Found credentials: %s', credentials)
          LOG.info('Gate working.')
      except TypeError:
          LOG.fatal('Gate connection not valid: API_URL = %s', API_URL)
docs: Check Gate connection.