rubocop complains when this is named has_feature?
490308
def feature?(feature)
      supported = (definition[:features] && definition[:features].include?(feature))
      if supported
        Puppet.debug("#{definition[:name]} supports `#{feature}`")
      else
        Puppet.debug("#{definition[:name]} does not support `#{feature}`")
      end
      supported
    end
33840
def have_attributes(attr, *more)
      sum = (more << attr)
      sum.each do |name|
        raise ArgumentError, "Reserved attribute name #{name}" if @verbotten.include?(name)
      end
      @attributes += sum
    end
26450
def method_missing(method_name, *_args)
      if attrs.key?(method_name.to_s)
        attrs[method_name.to_s]
      else
        super(method_name)
      end
    end
343692
def has_feature_flags():
    '''
    
    '''
    # get man location
    man = salt.utils.path.which('man')
    return _check_retcode('{man} zpool-features'.format(
        man=man
    )) if man else False
78210
def lookup(feature, name)
      value = @hash[feature]
      value = value[name] if value.is_a? Hash
      fail IndexError, "No CmdRef defined for #{feature}, #{name}" if value.nil?
      value
    end
729374
def check_available!(name, endpoint)
      check_name_available!(name) unless name.nil?
      check_endpoint_available!(endpoint) unless endpoint.nil?
    end
1363645
def reject_args!(args, *names)
      names.each do |name|
        if args.include?(name.to_s) || args.include?(name.to_sym)
          raise ArgumentError, "Argument '#{name}' is not allowed"
        end
      end
    end
243531
def has(self, block, name):
        
        try:
            return self._kvs.has(self._key(block, name))
        except KeyError:
            return False
1242271
function(var_name)
    {
        for (var i=0; i<this._features.length; i++)
        {
             if (this._features[i] === var_name){
                 this._features.splice(i,1);
                 return true;
             }
        }
        return false;
    }
1124490
def has_option(self, option_name=None):
		
		if option_name is None:
			option_name = ''
		return self.config().has_option(self.section(), self.option_prefix() + option_name)
1002228
def variable_index( name )
      has = names.index_of(name)
      return nil unless has
      raise "internal error #{name}:#{has}" if has < 0
      has
    end
427515
def has(self, block, name):
        
        try:
            self.get(block, name)
            return True
        except KeyError:
            return False
429415
def has_bug?(name, _options = {})
      unless self.respond_to?(:version) && version
        puts 'To test for the presence of a bug the object must implement an attribute'
        puts "called 'version' which returns the IP version represented by the the object."
        fail 'Version undefined!'
      end
      name = name.to_s.downcase.to_sym
      if bugs[name]
        bugs[name].present_on_version?(version)
      else
        false
      end
    end
157279
function _warnIfUsingStrippedFeatureFlags(FEATURES, knownFeatures, featuresWereStripped) {
    if (featuresWereStripped) {
      _emberMetalDebug.warn('Ember.ENV.ENABLE_OPTIONAL_FEATURES is only available in canary builds.', !_emberEnvironment.ENV.ENABLE_OPTIONAL_FEATURES, { id: 'ember-debug.feature-flag-with-features-stripped' });

      var keys = Object.keys(FEATURES || {});
      for (var i = 0; i < keys.length; i++) {
        var key = keys[i];
        if (key === 'isEnabled' || !(key in knownFeatures)) {
          continue;
        }

        _emberMetalDebug.warn('FEATURE["' + key + '"] is set as enabled, but FEATURE flags are only available in canary builds.', !FEATURES[key], { id: 'ember-debug.feature-flag-with-features-stripped' });
      }
    }
  }
1210266
def method_missing(name, *args, **config, &block)
      if respond_to_missing?(name)
        config[:type] = name
        on(*args, config, &block)
      else
        super
      end
    end
725462
def method_missing(method_name, *args, &block)
      config = Loquacious::Configuration.for method_name, &block
      raise Adhearsion::Configuration::ConfigurationError.new "Invalid plugin #{method_name}" if config.nil?
      config
    end
44231
def app_yaml_exists?
      if @site.respond_to?(:in_source_dir)
        File.exists? @site.in_source_dir("app.yaml")
      else
        File.exists? Jekyll.sanitized_path(@site.source, "app.yaml")
      end
    end