Use ! instead of == false.