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

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

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

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

        return false;
    }
protected function isColumn ( ResolvedBlockTypeInterface $ type ) { if ( 'table_column' === $ type -> getBlockPrefix ( ) ) { return true ; } if ( null !== $ type -> getParent ( ) ) { return $ this -> isColumn ( $ type -> getParent ( ) ) ; } return false ; }
Check if the child is a column.

@param ResolvedBlockTypeInterface $type

@return bool
Check if the child is a column .