code: private Boolean[] asBooleans( List<Object> values ) {
          ValueFactory<Boolean> factory = valueFactories.getBooleanFactory();
          Boolean[] res = new Boolean[values.size()];
          for (int i = 0; i < res.length; i++) {
              res[i] = factory.create(values.get(i));
          }
          return res;
      }
docs: Converts CMIS value of boolean type into JCR value of boolean type.
  
  @param values CMIS values of boolean type
  @return JCR values of boolean type