The closest thing you can do is compare the difference between your variable and your goal and see if it is less than your acceptable threshold. Strictly this does not come close, but close (I would consider "approaching" to mean that many patterns tend to your goal, and this is almost impossible to do simply, especially with harmonic decays).
source share