docs: public boolean sameAs(Frame<ValueType> other) {
          if (isTop != other.isTop) {
              return false;
          }
  
          if (isTop && other.isTop) {
              return true;
          }
  
          if (isBottom != other.isBottom) {
              return false;
          }
  
          if (isBottom && other.isBottom) {
              return true;
          }
  
          if (getNumSlots() != other.getNumSlots()) {
              return false;
          }
  
          for (int i = 0; i < getNumSlots(); ++i) {
              if (!getValue(i).equals(other.getValue(i))) {
                  return false;
              }
          }
  
          return true;
      }