Return an explicit value (1/0) instead of potentially undef

To avoid an "Odd number of elements in anonymous hash" warning