teeboth: check cheaper condition in && first