isInheritedClass(instance, baseClass) {
		const baseClassName = module.exports.getConstructorName(baseClass);
		let proto = instance;
		while ((proto = Object.getPrototypeOf(proto))) {
			const protoName = module.exports.getConstructorName(proto);
			if (baseClassName == protoName) return true;
		}

		return false;
	}
Check whether the instance is an instance of the given class.

@param {Object} instance
@param {Object} baseClass
@returns {Boolean}