Detect if PlayerPrefs string exists

What I want to do is detect if a player preferences string exists. After checking the unity docs, it says that “PlayerPrefs.GetString will return default value if the string does not exist.” After trying this in my code, it does not seem to be returning “defaultValue”. What should I do?

Check the method PlayerPrefs.HasKey