LPS-39703 Add check to SourceFormatter
LPS-39703 Use StringUtil.isLowerCase/isUpperCase