use `is` instead of `==` for comparing booleans.