def _get_proto():
 use_ssl = config.get_cloud_config_value('use_ssl', get_configured_provider(), __opts__, search_global=False, default=True)
 if (use_ssl is True):
  return 'https'
 return 'http'

def _get_proto ( ) : use_ssl = config . get_cloud_config_value ( 'use_ssl' , get_configured_provider ( ) , __opts__ , search_global = False , default = True ) if ( use_ssl is True ) : return 'https' return 'http'
checks configuration to see whether the user has ssl turned on .