code: public static Object extractValue(MetaProperty<?> metaProp, Bean bean) {
          Object value = metaProp.get(bean);
          if (value != null) {
              Object[] helpers = OPTIONALS.get(metaProp.propertyType());
              if (helpers != null) {
                  try {
                      boolean present = (Boolean) ((Method) helpers[2]).invoke(value);
                      if (present) {
                          value = ((Method) helpers[3]).invoke(value);
                      } else {
                          value = null;
                      }
                  } catch (Exception ex) {
                      throw new RuntimeException(ex);
                  }
              }
          }
          return value;
      }
docs: Extracts the value of the property from a bean, unwrapping any optional.
  
  @param metaProp  the property to query, not null
  @param bean  the bean to query, not null
  @return the value of the property, with any optional wrapper removed