>> This is more appropriate for determining if you're in the situation that SleepyJoe describes.

no they're equally appropriate - except mine had a bug in it (the very thing it safeguarded against) and yours just takes up less space.