` ? true : false` part is not necessary