def _is_s3_url(url):
 try:
  return (parse_url(url).scheme in ['s3', 's3n', 's3a'])
 except:
  return False

def _is_s3_url ( url ) : try : return ( parse_url ( url ) . scheme in [ 's3' , 's3n' , 's3a' ] ) except : return False
check for an s3 .