code: public boolean isOrderSet() {
          boolean result = true;
  
          if (this.values.size() != this.order.size()) {
              result = false;
          }
  
          return result;
      }
docs: Utility function.
  Is used to check if Order(position for all keys) was set
  
  @return true if order is defined for all keys