parameters: (self, spec, extension)
return_statement: return False
docstring: Determine if there's an explicit rule for a particular extension.
docstring_summary: Determine if there's an explicit rule for a particular extension.
docstring_tokens: Determine if there s an explicit rule for a particular extension .
function: def _HasExplicitRuleForExtension(self, spec, extension):
      """Determine if there's an explicit rule for a particular extension."""
      for rule in spec.get('rules', []):
        if rule['extension'] == extension:
          return True
      return False
function_tokens: def _HasExplicitRuleForExtension ( self , spec , extension ) : for rule in spec . get ( 'rules' , [ ] ) : if rule [ 'extension' ] == extension : return True return False