You don't need the " ? true : false" so please remove.