code: protected boolean isSwappableData(Object obj) {
          if (obj != null && (obj instanceof Serializable || obj instanceof Externalizable)) {
              return true;
          }
          return false;
      }
docs: Check if attribute is swappable as defined by J2EE