ObjectFilter/ObjectFilter.php
protected function isIdentifier(FieldVote $fieldVote, $value)
    {
        return (\is_int($value) || \is_string($value))
                && (string) $value === $fieldVote->getSubject()->getIdentifier()
                && \in_array($fieldVote->getField(), ['id', 'subjectIdentifier'], true);
    }
protected function isIdentifier(FieldVote $fieldVote, $value)
    {
        return (\is_int($value) || \is_string($value))
                && (string) $value === $fieldVote->getSubject()->getIdentifier()
                && \in_array($fieldVote->getField(), ['id', 'subjectIdentifier'], true);
    }
protected function isIdentifier ( FieldVote $ fieldVote , $ value ) { return ( \ is_int ( $ value ) || \ is_string ( $ value ) ) && ( string ) $ value === $ fieldVote -> getSubject ( ) -> getIdentifier ( ) && \ in_array ( $ fieldVote -> getField ( ) , [ 'id' , 'subjectIdentifier' ] , true ) ; }
Check if the field is an identifier.

@param FieldVote $fieldVote The field vote
@param mixed     $value     The value

@return bool
Check if the field is an identifier .