<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def checkURL(cls, trust_root, url):
 """quick func for validating a url against a trust root. See the TrustRoot class if you need more control."""

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