Ok I was confused because I'd expect this method to have an argument.
If possible, can you rename it to `setHasUniqueName()` and the other one to `hasUniqueName()` ?
This way it is clear that we're talking about booleans, not strings. (I believed it was about a string, the name, all along)