Wrote an article
https://itsmycode.com/how-to-check-if-string-contains-substring-in-python/