I was going to add that exact same check and was told it was bad because it would lead to spaghetti code.