parameters: (self, key)
return_statement: return 1
docstring: Determines the state of a build setting in all XCBuildConfiguration
      child objects.
  
      If all child objects have key in their build settings, and the value is the
      same in all child objects, returns 1.
  
      If no child objects have the key in their build settings, returns 0.
  
      If some, but not all, child objects have the key in their build settings,
      or if any children have different values for the key, returns -1.
docstring_summary: Determines the state of a build setting in all XCBuildConfiguration
      child objects.
docstring_tokens: Determines the state of a build setting in all XCBuildConfiguration child objects .
function: def HasBuildSetting(self, key):
      """Determines the state of a build setting in all XCBuildConfiguration
      child objects.
  
      If all child objects have key in their build settings, and the value is the
      same in all child objects, returns 1.
  
      If no child objects have the key in their build settings, returns 0.
  
      If some, but not all, child objects have the key in their build settings,
      or if any children have different values for the key, returns -1.
      """
  
      has = None
      value = None
      for configuration in self._properties['buildConfigurations']:
        configuration_has = configuration.HasBuildSetting(key)
        if has is None:
          has = configuration_has
        elif has != configuration_has:
          return -1
  
        if configuration_has:
          configuration_value = configuration.GetBuildSetting(key)
          if value is None:
            value = configuration_value
          elif value != configuration_value:
            return -1
  
      if not has:
        return 0
  
      return 1
function_tokens: def HasBuildSetting ( self , key ) : has = None value = None for configuration in self . _properties [ 'buildConfigurations' ] : configuration_has = configuration . HasBuildSetting ( key ) if has is None : has = configuration_has elif has != configuration_has : return - 1 if configuration_has : configuration_value = configuration . GetBuildSetting ( key ) if value is None : value = configuration_value elif value != configuration_value : return - 1 if not has : return 0 return 1