Refactor isContainerSizeSlow() to use Variable::isStlType()