-
Petr Pudlak authored
This convenience function examines 'listLocks' for a particular owner and checks, if it holds a given lock at a given ownership level (or higher). Therefore checking for a shared locks returns 'True' if the owner holds a shared or exclusive lock. Signed-off-by: Petr Pudlak <pudlak@google.com> Reviewed-by: Klaus Aehlig <aehlig@google.com>
f066e7fb