Return Some of Application of f on a inside Some if isDefined else None
f
a
Option<Z> map<Z>(Z Function(A a) f) => fold(_none, (A a) => _some(f(a)));