class ActiveJob::QueueAdapters::QueAdapter

def require_job_options_kwarg?

def require_job_options_kwarg?
  @require_job_options_kwarg ||=
    JobWrapper.method(:enqueue).parameters.any? { |ptype, pname| ptype == :key && pname == :job_options }
end