/**
* {@inheritdoc}
*
* @param FlowQuery $flowQuery the FlowQuery object
* @param array $arguments the filter arguments
* @return void|boolean
*/
public function evaluate(FlowQuery $flowQuery, array $arguments)
{
if (count($arguments) == 0) {
return count($flowQuery->getContext()) > 0;
} else {
$flowQuery->pushOperation('is', []);
$flowQuery->pushOperation('filter', $arguments);
}
}