use sameas twig check to check for the exact value of false.