protected function isColumn(ResolvedBlockTypeInterface $type)
    {
        if ('table_column' === $type->getBlockPrefix()) {
            return true;
        }

        if (null !== $type->getParent()) {
            return $this->isColumn($type->getParent());
        }

        return false;
    }