def METHOD_NAME(self, data, trackIndex, subTrackIndex):
    return {key: val for key, val in data.items()
            if subTrackIndex == val["subTrackIndex"]
            if trackIndex == val["trackIndex"]}