'quick func for validating a url against a trust root.  See the
TrustRoot class if you need more control.'

def checkURL(cls, trust_root, url):

    tr = cls.parse(trust_root)
    return ((tr is not None) and tr.validateURL(url))
