python if substring not in string