/**
  * {@inheritdoc}
  */
 public function getIsVisible()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getIsVisible');
     if (!$pluginInfo) {
         return parent::getIsVisible();
     } else {
         return $this->___callPlugins('getIsVisible', func_get_args(), $pluginInfo);
     }
 }
 /**
  * Check attribute availability for super product creation
  *
  * @param  \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute
  * @return bool
  */
 public function canUseAttribute(\Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute)
 {
     return $attribute->getIsGlobal() == \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL && $attribute->getIsVisible() && $attribute->usesSource() && $attribute->getIsUserDefined();
 }