Executes a function if the Optional value is present.
void ifPresent(void ifPresent(T value)) { if (isPresent) { ifPresent(_value); } }