protected boolean shouldImplicitlyCreateRealm(Ini ini) {
        return !CollectionUtils.isEmpty(ini)
                && (!CollectionUtils.isEmpty(ini.getSection(IniRealm.ROLES_SECTION_NAME))
                || !CollectionUtils.isEmpty(ini.getSection(IniRealm.USERS_SECTION_NAME)));
    }
Returns {@code true} if the Ini contains account data and a {@code Realm} should be implicitly
{@link #createRealm(Ini) created} to reflect the account data, {@code false} if no realm should be implicitly
created.

@param ini the Ini instance to inspect for account data resulting in an implicitly created realm.
@return {@code true} if the Ini contains account data and a {@code Realm} should be implicitly
{@link #createRealm(Ini) created} to reflect the account data, {@code false} if no realm should be
implicitly created.
core/src/main/java/org/apache/shiro/ini/IniSecurityManagerFactory.java