docs: public static INDArray firstIndex(INDArray array, Condition condition, int... dimension) {
          if (!(condition instanceof BaseCondition))
              throw new UnsupportedOperationException("Only static Conditions are supported");
  
          return Nd4j.getExecutioner().exec(new FirstIndex(array, condition, dimension));
      }