code: static boolean isSerializable(Object object) {
          final boolean retVal;
          if (implementsInterface(object)) {
              retVal = attemptToSerialize(object);
          } else {
              retVal = false;
          }
          return retVal;
      }
docs: Checks if is serializable.
  
  @param object
  the object
  @return true, if is serializable