code: public static <T> boolean isReferringTo(final Reference<T> ref, final T obj)
      {
          return ref.get() == obj;
      }
docs: Indicate whether a Reference refers to a given object.
  
  @param ref The {@link Reference} to be tested.
  @param obj The object to which the {@link Reference} may, or may not, be referring.
  @param <T> the class of the referent.
  @return true if the {@link Reference}'s referent is obj, otherwise false.