def binary_correct(c_row, label_col):
    """
    determine if the row is correct or not
    :param c_row: row from a dataframe (dict-like)
    :param label_col: the colum where the label information resides
    :return: boolean if the value is correct or not
    >>> test_row = {'task': 'Pneumonia', 'value': 'Pneumonia', 'label': 'Pneumonia'}
    >>> binary_correct(test_row, 'value')
    True
    >>> test_row['value'] = 'Influenza'
    >>> binary_correct(test_row, 'value')
    False
    >>> test_row = {'task': 'Influenza', 'value': 'Pneumonia', 'label': None}
    >>> binary_correct(test_row, 'value')
    True
    """
    if c_row['label'] == c_row[label_col]:
        return True
    elif c_row['label'] is None:
        if c_row[label_col] == c_row['task']:
            # definitely wrong
            return False
        else:
            # definitely right
            return True
    else:
        # if the label is positive but not what we picked
        return False

    return None