Fixes: #9398 Adding a check if the Hazelcast node have the leader property set but can't acquire the leadership lock. If this happens, the node should revoke the leadership since another node is the "true leader" **Auto-cherry-pick to `6.3.x` & `6.2.x`**