def METHOD_NAME(track_states):
    timestamps = {state.timestamp for state in track_states}
    if len(timestamps) > 1:
        raise ValueError(
            'All states must be from the same time to compute total uncertainty')
    return timestamps.pop()