complex condtion: AND operator with two boolean constants