docs: public static boolean isVector(IntBuffer shapeInfo) {
          int rank = Shape.rank(shapeInfo);
          if (rank > 2 || rank < 1)
              return false;
          else {
              int len = Shape.length(shapeInfo);
              IntBuffer shape = Shape.shapeOf(shapeInfo);
              return shape.get(0) == len || shape.get(1) == len;
          }
      }