tnetwork.utils.Intervals.contains_t

Intervals.contains_t(t)[source]

Return True if the provided t is in the current Intervals

Parameters:t – a time step to test
Returns:True if the time is in the interval, False otherwise