entities similar to ensure that 2 boolean attributes of an entity never have the same value