'Create an object that represents a SAML Status.
<ns0:Status xmlns:ns0="urn:oasis:names:tc:SAML:2.0:protocol">
<ns0:StatusCode
Value="urn:oasis:names:tc:SAML:2.0:status:Success" />
</ns0:Status>
:returns: XML <Status> object'

def _create_status(self):

    status = samlp.Status()
    status_code = samlp.StatusCode()
    status_code.value = samlp.STATUS_SUCCESS
    status_code.set_text('')
    status.status_code = status_code
    return status
