[14.x] Drop method_exists for isLocked in CacheEventMutex

Merged
JA
14d ago
+1-25

I've been waiting for master to catch up so I could send this one.

The Lock contract has isLocked(), which I added in 14.x via #62008. Since we know every implementation has to have the method now, the method_exists check isn't needed anymore.

A very simple PR in the name of taste, also drops a test that was running the false bit - as ofc not needed