Checks if the sentinel list contains a given address.
bool contains = list.contains(address(4));
SentinelList
The storage pointer of the list.
address
The address to check for in the list.
bool
Returns true if the entry is contained in the list and false otherwise.