public boolean writeData(PdxWriter writer, Object obj) {
    if (isRelevant(obj.getClass())) {
      writeData(writer, obj, getClassInfo(obj.getClass()));
      return true;
    }
    return false;
  }
Using the given PdxWriter, write out the relevant fields for the object instance passed in.

@param writer the <code>PdxWriter</code> to use when writing the object
@param obj the object to serialize
@return <code>true</code> if the object was serialized, <code>false</code> otherwise
geode-core/src/main/java/org/apache/geode/pdx/internal/AutoSerializableManager.java