if len(timeFilter):

it's enough

0 is evaluated to false

<pre>
and self.timeEnabled is not None and self.timeEnabled[i]
</pre>
is redundant