Programmer's Guide > Interfaces > W3C NameList interface > contains method
  
contains method
Test if a name is part of this NameList.
contains(str )
Parameters
Stringstr
The name to look for.
Returns
booleantrue if the name has been found, false otherwise.