@classmethod
def apply(cls, parser, unmarshaller):
    """
        Apply the patch to a ``parser`` and ``unmarshaller`` obtained from
        xmlrpclib, but only if requested and warranted.
        """
    if cls.requested() and cls.warranted():
        return cls.patch_parser(parser, unmarshaller)
    return parser, unmarshaller
