/**
* Determines if the given grouped filter entry has a valid value.
*
* @param array $group
* A group entry as defined by buildGroupForm().
*
* @return bool
*/
protected function hasValidGroupedValue(array
$group) { $operators =
$this->
operators();
if ($operators[$group['operator'
]]['values'
] == 0
) { // Some filters, such as "is empty," do not require a value to be
// specified in order to be valid entries.
return TRUE;
} else { if (is_string($group['value'
])) { return trim($group['value'
]) != '';
} elseif (is_array($group['value'
])) { // Some filters allow multiple options to be selected (for example, node