Convert a binary function of Double to binary function of Option[Double]

I was wondering whether it could be done with something like almostEqual.flatMap.tupled.getOrElse(false) But that’s just an intuition.