private function isProviderEnabled($provider)
    {
        return (bool)$this->scopeConfig->getValue(
            sprintf(SocialLoginService::CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_ENABLED, $provider),
            ScopeInterface::SCOPE_STORE
        );
    }
private function isProviderEnabled($provider)
    {
        return (bool)$this->scopeConfig->getValue(
            sprintf(SocialLoginService::CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_ENABLED, $provider),
            ScopeInterface::SCOPE_STORE
        );
    }
private function isProviderEnabled ( $ provider ) { return ( bool ) $ this -> scopeConfig -> getValue ( sprintf ( SocialLoginService :: CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_ENABLED , $ provider ) , ScopeInterface :: SCOPE_STORE ) ; }
Checks if social login provider is enabled in config.

@param string $provider
@return bool
Checks if social login provider is enabled in config .