The ` ? true : false;` part is not necessary.