/**
  * Checks if we are allowed to sell to the current country.
  * @return Boolean
  */
 public static function allow_sales()
 {
     if (self::$allow_sales_cache === null) {
         self::$allow_sales_cache = true;
         $countryCode = EcommerceCountry::get_country();
         if ($countryCode) {
             $countries = EcommerceCountry::get()->filter(array("DoNotAllowSales" => 1, "Code" => $countryCode));
             if ($countries->count()) {
                 self::$allow_sales_cache = false;
             }
         }
     }
     return self::$allow_sales_cache;
 }