isPresent

abstract fun isPresent(): Boolean(source)

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

Return

true if there is a value present, otherwise false