class ActionView::PathSet

def exists?(path, prefixes, *args)

def exists?(path, prefixes, *args)
  find_all(path, prefixes, *args).any?
end