Returns None if the predicate noFuturesAllowed returns false. Otherwise, returns the original Option.
noFuturesAllowed
false
Option<T> filter(@noFuturesAllowed bool Function(T value) noFuturesAllowed);