public static function is_d1nation($country)
	{
		$d1nation = false;
		if ($country)
		{
			if (!($gdb = self::getGeoDBO()))
			{
				return $d1nation;
			}

			$gdb->setQuery("SELECT COUNT(*) FROM countrygroup WHERE LOWER(countrycode) = LOWER(" . $gdb->quote($country) . ") AND countrygroup = 'D1'");
			$c = $gdb->loadResult();
			if ($c > 0)
			{
				$d1nation = true;
			}
		}
		return $d1nation;
	}
public static function is_d1nation($country)
	{
		$d1nation = false;
		if ($country)
		{
			if (!($gdb = self::getGeoDBO()))
			{
				return $d1nation;
			}

			$gdb->setQuery("SELECT COUNT(*) FROM countrygroup WHERE LOWER(countrycode) = LOWER(" . $gdb->quote($country) . ") AND countrygroup = 'D1'");
			$c = $gdb->loadResult();
			if ($c > 0)
			{
				$d1nation = true;
			}
		}
		return $d1nation;
	}
public static function is_d1nation ( $ country ) { $ d1nation = false ; if ( $ country ) { if ( ! ( $ gdb = self :: getGeoDBO ( ) ) ) { return $ d1nation ; } $ gdb -> setQuery ( "SELECT COUNT(*) FROM countrygroup WHERE LOWER(countrycode) = LOWER(" . $ gdb -> quote ( $ country ) . ") AND countrygroup = 'D1'" ) ; $ c = $ gdb -> loadResult ( ) ; if ( $ c > 0 ) { $ d1nation = true ; } } return $ d1nation ; }
Is a country an D1 nation?

@param   string   $country  Country to check
@return  boolean  True if D1
Is a country an D1 nation?