python check if something is not true