class SidekiqUniqueJobs::Lock::BaseLock

def locked?

Returns:
  • (false) - when this jid has not locked the job
  • (true) - when this jid has locked the job
def locked?
  locksmith.locked?
end