code: private void checkTenants() {
          m_logger.info("The following tenants and applications are defined:");
          Collection<Tenant> tenantList = TenantService.instance().getTenants();
          for (Tenant tenant : tenantList) {
              checkTenantApps(tenant);
          }
          if (tenantList.size() == 0) {
              m_logger.info("   <no tenants>");
          }
      }
docs: Check to the applications for this tenant.