checkParentTypeInTree = (instance, componentType) => {
        if (!instance?.parent) {
          return false;
        }

        return instance?.parent.type === componentType || checkParentTypeInTree(instance.parent, componentType);
      }
@param component
@param condition
@param row
@param data
@param instance