While moving it down can deduplicate some code, the way it is currently written, the check runs just once.