I think this would be clearer if you just returned true if you found a comma and false otherwise