code: public StructuredQueryDefinition value(TextIndex index, FragmentScope scope, String[] options, double weight, Boolean value) {
      return new ValueQuery(index, scope, options, weight, new Object[] {value});
    }
docs: Matches a JSON property that has a value with the same boolean
  value as at least one of the criteria values.  Note this method will not
  match any XML node.
  @param index    the value container
  @param scope    whether the query matches the document content or properties
  @param options    options for fine tuning the query
  @param weight    the multiplier for the match in the document ranking
  @param value        either true or false
  @return    the StructuredQueryDefinition for the value query