protected static boolean isSectionHeader(String line) {
        String s = StringUtils.clean(line);
        return s != null && s.startsWith(SECTION_PREFIX) && s.endsWith(SECTION_SUFFIX);
    }
Loads the INI-formatted text backed by the given Scanner.  This implementation will close the
scanner after it has finished loading.

@param scanner the {@code Scanner} from which to read the INI-formatted text
config/core/src/main/java/org/apache/shiro/config/Ini.java