tnetwork.utils.Intervals.contains

Intervals.contains(period)[source]

Is the period contained in this Interval

Check if the provided period is included in the (active time of the) current Interval

Parameters:period – the period to test
Returns:True or False