isSome method

bool isSome()

Implementation

bool isSome() => fold(() => false, (_) => true);