def is_fakes3(s3_url):
 if (s3_url is not None):
  return (urlparse.urlparse(s3_url).scheme in ('fakes3', 'fakes3s'))
 else:
  return False

def is_fakes3 ( s3_url ) : if ( s3_url is not None ) : return ( urlparse . urlparse ( s3_url ) . scheme in ( 'fakes3' , 'fakes3s' ) ) else : return False
return true if s3_url has scheme fakes3:// .