Therefore API > API Reference > Classes > TheMenu > Methods > Contains
Contains.2
Checks if the list contains an menu item with the specified text.
Namespace: Therefore.API
strName
Menu text to look for.
Value
Condition
true
List contains at least one TheMenu with the specified strName.
false
List does not contain an TheMenu with the specified strName.