'Equality as defined by https://tools.ietf.org/html/rfc5280#section-7.4
:param other:
Another URI object
:return:
A boolean'

def __eq__(self, other):

    if (not isinstance(other, URI)):
        return False
    return (iri_to_uri(self.native) == iri_to_uri(other.native))
