public static function canBeEnabled()
    {
        $isEnabled = (bool) Config::getInstance()->General['enable_update_communication'];
        if($isEnabled === true && Marketplace::isMarketplaceEnabled() === true && SettingsPiwik::isInternetEnabled() === true){
            return true;
        }
        
        return false;
    }
public static function canBeEnabled()
    {
        $isEnabled = (bool) Config::getInstance()->General['enable_update_communication'];
        if($isEnabled === true && Marketplace::isMarketplaceEnabled() === true && SettingsPiwik::isInternetEnabled() === true){
            return true;
        }
        
        return false;
    }
public static function canBeEnabled ( ) { $ isEnabled = ( bool ) Config :: getInstance ( ) -> General [ 'enable_update_communication' ] ; if ( $ isEnabled === true && Marketplace :: isMarketplaceEnabled ( ) === true && SettingsPiwik :: isInternetEnabled ( ) === true ) { return true ; } return false ; }
Checks whether a plugin update notification can be enabled or not. It cannot be enabled if for instance the
Marketplace is disabled or if update notifications are disabled in general.

@return bool
Checks whether a plugin update notification can be enabled or not . It cannot be enabled if for instance the Marketplace is disabled or if update notifications are disabled in general .