It does make sense to make sure all the conditions are right and only then call the hook.