LPS-49928 Validator should be used for null check for strings