code: public boolean checkInactive(CmsUser user) {
  
          if (m_maxInactive == null) {
              return false;
          }
  
          try {
              long maxInactive = CmsStringUtil.parseDuration(m_maxInactive, Long.MAX_VALUE);
              return (System.currentTimeMillis() - user.getLastlogin()) > maxInactive;
          } catch (Exception e) {
              LOG.warn(e.getLocalizedMessage(), e);
              return false;
          }
      }
docs: Checks whether the given user has been inactive for longer than the configured limit.<p>
  
  If no max inactivity time is configured, always returns false.
  
  @param user the user to check
  @return true if the user has been inactive for longer than the configured limit