pep8 says:

Yes:   if greeting:
No:    if greeting == True:
Worse: if greeting is True: