public function uses(FieldConfig $field)
    {
        return in_array($field, $this->fields->toArray()) || $field instanceof IdFieldConfig;
    }
public function uses(FieldConfig $field)
    {
        return in_array($field, $this->fields->toArray()) || $field instanceof IdFieldConfig;
    }
public function uses ( FieldConfig $ field ) { return in_array ( $ field , $ this -> fields -> toArray ( ) ) || $ field instanceof IdFieldConfig ; }
Returns true if the component uses specified column for totals calculation.

@param FieldConfig $field
@return bool
Returns true if the component uses specified column for totals calculation .