check if value does not exist in dictionary python