please revert this and check the value. Wonder if this should be $app->isCaptchaRequired()