'Compare this resource definition for inequality with another.
See __eq__() for the definition of equality.'

def __ne__(self, other):

    equal = self.__eq__(other)
    if (equal is NotImplemented):
        return NotImplemented
    return (not equal)
