code: private List<Boolean> asBooleanList(Object value) {
          boolean[] values = (boolean[]) value;
          List<Boolean> list = new ArrayList<Boolean>(values.length);
          for (boolean booleanValue : values) {
              list.add(booleanValue);
          }
          return list;
      }
docs: Returns value as a Boolean List.
  
  @param value array to convert.
  
  @return value as a Boolean List.