http://www.pythonreader.com/2024/02/5-effective-ways-to-check-if-string-can.html