public boolean isPresent() {
        return value != null;
    }
Return {@code true} if there is a value present, otherwise {@code false}.

@return {@code true} if there is a value present, otherwise {@code false}
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/Optional.java