code: def _get_price(self, package):
          
  
          for price in package['prices']:
              if not price.get('locationGroupId'):
                  return price['id']
  
          raise SoftLayer.SoftLayerError("Could not find valid price")
docs: Returns valid price for ordering a dedicated host.