Ensure LHS and RHS of boolean expression are the same.