getTypeRed method

bool getTypeRed()

Implementation

bool getTypeRed() {
  switch (type) {
    case '0':
    case '5':
    case '1':
    case '2':
      return true;
    default:
      return false;
  }
}