def resolve_max_job_retries(retries)
      if retries.respond_to?(:queue_max_job_retries)
        resolve_max_job_retries(retries.queue_max_job_retries)
      elsif retries.is_a?(Integer) # numerical
        retries
      else # default
        Backburner.configuration.max_job_retries
      end
    end
Resolves max retries based on the value given. Can be integer, a class or nothing

@example
resolve_max_job_retries(5) => 5
resolve_max_job_retries(FooBar) => <queue max_job_retries>
resolve_max_job_retries(nil) => <default max_job_retries>