code: def _get_item(self, package, flavor):
          
  
          for item in package['items']:
              if item['keyName'] == flavor:
                  return item
  
          raise SoftLayer.SoftLayerError("Could not find valid item for: '%s'" % flavor)
docs: Returns the item for ordering a dedicated host.