I'm wondering if there was a function in Python 2.7 that checks to see if a string contains multiple words (as in words with spaces/punctuation marks between them), similar to how .isalpha()
checks to see if a string contains only letters?
For example, if something along the lines of this exists...
var_1 = "Two Words"
if var_1.containsmultiplewords():
print "Yes"
And then "Yes" would be the output.
Thanks!