Yes, it's a guard against a non-boolean value being provided.