contains method
Return true
if this Option is a Some and value inside equal candidate
Implementation
bool contains(A candidate) => isDefined && Some(candidate) == this;
Return true
if this Option is a Some and value inside equal candidate
bool contains(A candidate) => isDefined && Some(candidate) == this;