Fix copypasta
Add ? to boolean function