ObjectFilter/ObjectFilter.php
protected function isFilterViewGranted(FieldVote $fieldVote, $value, $clearAll)
    {
        return null !== $value
            && !$this->isIdentifier($fieldVote, $value)
            && ($clearAll || !$this->isViewGranted($fieldVote));
    }
protected function isFilterViewGranted(FieldVote $fieldVote, $value, $clearAll)
    {
        return null !== $value
            && !$this->isIdentifier($fieldVote, $value)
            && ($clearAll || !$this->isViewGranted($fieldVote));
    }
protected function isFilterViewGranted ( FieldVote $ fieldVote , $ value , $ clearAll ) { return null !== $ value && ! $ this -> isIdentifier ( $ fieldVote , $ value ) && ( $ clearAll || ! $ this -> isViewGranted ( $ fieldVote ) ) ; }
Check if the field value must be filtered.

@param FieldVote $fieldVote The field vote
@param mixed     $value     The value
@param bool      $clearAll  Check if all fields must be filtered

@return bool
Check if the field value must be filtered .