def occurrence(data, less=False):
    """Occurrence of more ones than zeros in axis 0 of data."""
    num_ones = data.sum(axis=0)
    num_zeros = data.shape[0] - num_ones
    if less:
        return num_zeros > num_ones
    return num_ones >= num_zeros