This is redundant with ` ((pos_label == 0 or neg_label != 0) and sparse_output)`.