code: public Optional<String> get(String key) {
      return Optional.ofNullable(flagsMap.get(key));
    }
docs: Gets flag value for the given key as a String, wrapped in an {@link Optional}, which is empty
  if the flag is unset.