def is_content_xml(content_type):
    """Based on the Content-Type return True if the content is XML text."""
    if 'text/xml' in content_type:
        return True
    if 'application/vnd.paos+xml' in content_type:
        return True
    return False
