How to check whether given String contains one or more words in Java?

How to check whether given String contains one or more words in Java?

More to explore

Based on this image's title: “How to check whether given String contains one or more words in Java?