public boolean function templateExists( required string id )
Returns whether or not the given template exists in the database