'Equality comparison operation.'

def __eq__(self, other):

    if (not isinstance(other, Key)):
        return NotImplemented
    return ((self.__pairs == other.__pairs) and (self.__app == other.__app) and (self.__namespace == other.__namespace))
