checks if values contain the input type index as a key
bool isTX(int index) => values.containsKey(index);