- qspec. in_nested ( a , nested )[source]
-
Check whether an element is part of a nested list.
- Parameters:
-
- aobject
The element to look for.
- nestedobject
The nested list.
- Returns:
-
- is_inbool
Whether
ais inside thenestedlist.
Check whether an element is part of a nested list.
The element to look for.
The nested list.
Whether a is inside the nested list.