def cellHasValue(row, header, _type):
    if (header in headerCols):
        iCol = headerCols[header]
        return ((iCol < len(row)) and isinstance(row[iCol].value, _type))
    return False
def cellHasValue(row, header, _type):
    if (header in headerCols):
        iCol = headerCols[header]
        return ((iCol < len(row)) and isinstance(row[iCol].value, _type))
    return False