We don't need the `!= null` check, null is not `instanceof String`