Forum:How do I check if a player knows a spell?

How can i find out if player do knows a spell allready by the spell id? like if player:GetSpellID(11) == true then player:UnlearnSpell(11) end --Freestail0 (talk) 16:48, November 2, 2009 (UTC)