Function isNegationFilter