public final boolean isInitialized() {
        if (!hasType()) {
          
          return false;
        }
        if (hasCenter()) {
          if (!getCenter().isInitialized()) {
            
            return false;
          }
        }
        for (int i = 0; i < getPointsCount(); i++) {
          if (!getPoints(i).isInitialized()) {
            
            return false;
          }
        }
        for (int i = 0; i < getNormalsCount(); i++) {
          if (!getNormals(i).isInitialized()) {
            
            return false;
          }
        }
        if (hasCentroid()) {
          if (!getCentroid().isInitialized()) {
            
            return false;
          }
        }
        return true;
      }