It can be simplified to:
public function canUseForCountry($country)
{
return !$this->getConfigData('allowspecific')
|| in_array($country, explode(',', $this->getConfigData('specificcountry')));
}
It can be simplified to:
public function canUseForCountry($country)
{
return !$this->getConfigData('allowspecific')
|| in_array($country, explode(',', $this->getConfigData('specificcountry')));
}