def provides_csp_features(response):
 return ((len(retrieve_csp_policies(response)) + len(retrieve_csp_policies(response, True))) > 0)

def provides_csp_features ( response ) : return ( ( len ( retrieve_csp_policies ( response ) ) + len ( retrieve_csp_policies ( response , True ) ) ) > 0 )
method to detect if url provides csp features .