itacart.intervals.intervals_contain

itacart.intervals.intervals_contain(first, second)[source]

Whether every position of the second list is in the first.

Example

>>> intervals_contain(cells_to_intervals("NE(0625/0451)"),
...                   cells_to_intervals("NE(0625/0451(3(C2)))"))
True
Parameters:
Return type:

bool