code: private static boolean implementsInterface(final Object o) {
          final boolean retVal;
          retVal = (o instanceof Serializable) || (o instanceof Externalizable);
          return retVal;
      }
docs: Implements interface.
  
  @param o
  the o
  @return true, if successful