Docs: Adds documentation for indices.exists_template

Closes: #8657