code: private boolean willWriteBean(Bean bean) {
          for (MetaProperty<?> prop : bean.metaBean().metaPropertyIterable()) {
              if (prop.style().isSerializable() || (prop.style().isDerived() && settings.isIncludeDerived())) {
                  return true;
              }
          }
          return false;
      }
docs: -----------------------------------------------------------------------