+ /**
+ * Checks if a certain template file exists.
+ *
+ * @param name Template file name.
+ * @param group If it is true, search in the group directory, otherwise
+ * checks only in the root path.
+ *
+ * @return bool.
+ * @todo Add an example.
+ */