code: public static Object get(final Supplier<?> supplier) {
          if (supplier == null) {
              return null;
          }
          final Object result = supplier.get();
          return result instanceof Message ? ((Message) result).getFormattedMessage() : result;
      }
docs: Returns the result of evaluating the specified function. If the supplied value is of type Message, this method
  returns the result of calling {@code #getFormattedMessage} on that Message.
  @param supplier a lambda expression or {@code null}
  @return the results of evaluating the lambda expression (or {@code null} if the supplier
  was {@code null}