def supportsSReg(endpoint):
 return (endpoint.usesExtension(ns_uri_1_1) or endpoint.usesExtension(ns_uri_1_0))

def supportsSReg ( endpoint ) : return ( endpoint . usesExtension ( ns_uri_1_1 ) or endpoint . usesExtension ( ns_uri_1_0 ) )
does the given endpoint advertise support for simple registration? .