import numpy as np
states = [False, False, False, False, True, True, False, True, False, False,
    False, False, False, False, False, False]
np.where(states)
Getting indices of True values in a boolean list