@jeffkaufman: "I think this would be clearer if you just returned true if you found a comma and false otherwise"

Is edcf95615c479de0b5f872da59cefdc2aab6f4ac better?