'Allow == comparison of two resources.'

def __eq__(self, other):

    if isinstance(other, Resource):
        return ((self.name == other.name) and (self.t.freeze() == other.t.freeze()))
    return NotImplemented
