Slight refactoring on boolean methods