def METHOD_NAME(self, source_row, source_parent):
    if self.col_usernames is not None:
        index = self.sourceModel().index(
            source_row, self.col_usernames, source_parent
        )
        user = index.data(QtCore.Qt.DisplayRole)
        if user not in self.filter_usernames:
            return False
    return True