function checkColumnTemplate(fnDoCheck, oScope, sType) {
		const aTables = SupportHelper.find(oScope, true, "sap.ui.table.Table");
		let aColumns; let oTemplate;

		for (let i = 0; i < aTables.length; i++) {
			aColumns = aTables[i].getColumns();

			for (let k = 0; k < aColumns.length; k++) {
				oTemplate = aColumns[k].getTemplate();

				if (oTemplate && oTemplate.isA(sType)) {
					fnDoCheck(aTables[i], aColumns[k], oTemplate);
				}
			}
		}
	}
Loops over all columns of all visible tables and calls the given callback with the following parameters:
table instance, column instance, column template instance.

If the column does not have a template or a type is given and the template is not of this type the callback is not called.

@param {function} fnDoCheck Callback
@param {object} oScope The scope as given in the rule check function.
@param {string} [sType] If given an additional type check is performed.