class SidekiqUniqueJobs::Locksmith

def locked?(conn = nil)

Returns:
  • (true, false) - true when the :LOCKED hash contains the job_id
def locked?(conn = nil)
  return taken?(conn) if conn
  redis { |rcon| taken?(rcon) }
end