isDefined

fun isDefined(): Boolean

Returns true if the option is an instance of Some, false otherwise.