@staticmethod
def _get_state(indexes, list_of_boolean_time_series):
    """
        Obtains the state vector build by following the given index for each state variable.

        Parameters
        ----------

        indexes : list int
            List of indexes into the states, one index for each state variable

        list_of_boolean_time_series : list of BooleanTimeSeries
            List of Boolean time series for each state variable.

        Returns
        -------

        list of bool
            The state vector obtained by indexing into the Boolean time series for each
            state variable.
        """
    state = []
    for i in range(len(indexes)):
        state.append(list_of_boolean_time_series[i].y[indexes[i]])
    return state
