Therefore API > API Reference > Classes > TheMenu > Methods > Contains
Contains.1
Checks if a menu item with the specified ID is in the list.
Namespace: Therefore.API
nID
Menu item ID to look for.
Value
Condition
true
List contains at least one TheMenu item with the specified nID.
false
List does not contain a TheMenu item with the specified nID.