code: public PropertyState getState(Attribute<E, ?> attribute) {
          if (stateless) {
              return null;
          }
          PropertyState state = attribute.getPropertyState().get(entity);
          return state == null ? PropertyState.FETCH : state;
      }
docs: Gets the current {@link PropertyState} of a given {@link Attribute}.
  
  @param attribute to get
  @return the state of the attribute