Remove "if" from CristallRules::is* methods