def METHOD_NAME(self, model, iter, user_data=None):
    text = self.entryFilter.get_text().lower()
    if text == '':
        return True
    else:
        # either the variable name or its value
        return (text in model.get_value(iter, 0).lower()
                or text in model.get_value(iter, 2).lower())