Structural type guard for the SupportsLock capability.
Returns false for null / undefined so consumers can call this directly on
results without an explicit existence check. When store is non-null, returns
true when store.acquireLock is a function. Inside a true branch, TypeScript
narrows store to FederationTokenStore & SupportsLock, so
store.acquireLock(...) is callable without a cast.
Structural type guard for the SupportsLock capability.
Returns
falsefornull/undefinedso consumers can call this directly on results without an explicit existence check. Whenstoreis non-null, returnstruewhenstore.acquireLockis a function. Inside atruebranch, TypeScript narrowsstoretoFederationTokenStore & SupportsLock, sostore.acquireLock(...)is callable without a cast.