`? true : false;` is redundant