code: public boolean hasField(final String fieldName) {
          for (final ClassInfo ci : getOverrideOrder()) {
              if (ci.hasDeclaredField(fieldName)) {
                  return true;
              }
          }
          return false;
      }
docs: Checks whether this class or one of its superclasses has the named field.
  
  @param fieldName
  The name of a field.
  @return true if this class or one of its superclasses declares a field of the given name.