isKeto method

bool isKeto()

If the base contained keto, return true.

Implementation

bool isKeto() {
  return base == EnumBase.g || base == EnumBase.t || base == EnumBase.k;
}