def is_compatible(self, obj):
return isinstance(obj, self.__class__)<EOL>
Check if the given object has a compatible type.

:param obj: The object to check.
:returns: :data:`True` if the given object is an instance of
          :class:`NaturalOrderKey`, :data:`False` otherwise.