def _row_value(row):
    """ A function to extract the contents of the 'value' key in a Row
        object. This function exists because this is a very common situation.
    """
    if row is None:
        out = None
    else:
        out = row['value']
    return out
