issue #19456: added hasLock function