Tests if an element exists in this Map.

- key (String)
- Name of the element to look for

True if the attribute is there, false otherwise


Sofu.Sofu.Map mymap = SofuReader.LoadFile("keys.sofu"); int key = Console.ReadKey(); if (mymap.HasAttribute(key.ToString())) { Console.WriteLine(mymap.value(key.ToString()).ToString()); }