getBoolInt method

bool getBoolInt()

Returns true if given value is 1, else returns false

Implementation

bool getBoolInt() {
  if (this == 1) {
    return true;
  }
  return false;
}