Simplify cookie check return