That seems like a fine update. I'd certainly prefer something that doesn't do anything if it's called too often than something that just eats CPU cycles.