Allows to check if the given pointer is stored on the given list.
- Parameters:
-
| list | The list where the lookup will be performed. |
| pointer | The pointer to lookup. |
- Returns:
- true if the element is stored on the list, otherwise false is returned. The function will fail to lookup if a NULL reference is received, either the list or the pointer.