class ActionController::Responder

def has_renderer?

Check whether the necessary Renderer is available
def has_renderer?
  Renderers::RENDERERS.include?(format)
end