def is_secure_transport(uri):
 if os.environ.get(u'OAUTHLIB_INSECURE_TRANSPORT'):
  return True
 return uri.lower().startswith(u'https://')

def is_secure_transport ( uri ) : if os . environ . get ( u'OAUTHLIB_INSECURE_TRANSPORT' ) : return True return uri . lower ( ) . startswith ( u'https://' )
check if the uri is over ssl .