python if none not in list