'Compare this resource definition for equality with another.
Two resource definitions are considered to be equal if they can be
generated from the same template snippet. The name of the resource is
ignored, as are the actual values that any included functions resolve
to.'

def __eq__(self, other):

    if (not isinstance(other, ResourceDefinition)):
        return NotImplemented
    return (self.render_hot() == other.render_hot())
