isPresent

abstract fun isPresent(): Boolean

Returns true if there is a value present, otherwise false.

Return

true if there is a value present, otherwise false