public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasArea()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasPerimeter()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasCenter()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getVerticesCount(); i++) {
        if (!getVertices(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      if (!getCenter().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getHolesCount(); i++) {
        if (!getHoles(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }