nitpick, I don't think `? true : false` is needed here and in the other places