code: private static boolean isRegistered(final Object value) {
          final Set<IDKey> registry = getRegistry();
          return registry != null && registry.contains(new IDKey(value));
      }
docs: <p>
  Returns <code>true</code> if the registry contains the given object. Used by the reflection methods to avoid
  infinite loops.
  </p>
  
  @param value
  The object to lookup in the registry.
  @return boolean <code>true</code> if the registry contains the given object.
  @since 2.3