public boolean tryLock() {
        return FunctionUtils.doAndHandle(
            () -> lock.tryLock(LOCK_TIMEOUT_SECONDS, TimeUnit.SECONDS),
            e -> false).get();
    }
Acquires the lock if it is not held by another thread within the given
waiting time and the current thread has not been
{@linkplain Thread#interrupt interrupted}.

@return true or false
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/concurrent/CasReentrantLock.java