https://devhubby.com/thread/how-to-check-a-string-against-null-in-java