parameters: (self, spec)
return_statement: return False
docstring: Determine if there's an explicit rule for idl files. When there isn't we
      need to generate implicit rules to build MIDL .idl files.
docstring_summary: Determine if there's an explicit rule for idl files. When there isn't we
      need to generate implicit rules to build MIDL .idl files.
docstring_tokens: Determine if there s an explicit rule for idl files . When there isn t we need to generate implicit rules to build MIDL . idl files .
function: def HasExplicitIdlRules(self, spec):
      """Determine if there's an explicit rule for idl files. When there isn't we
      need to generate implicit rules to build MIDL .idl files."""
      for rule in spec.get('rules', []):
        if rule['extension'] == 'idl' and int(rule.get('msvs_external_rule', 0)):
          return True
      return False
function_tokens: def HasExplicitIdlRules ( self , spec ) : for rule in spec . get ( 'rules' , [ ] ) : if rule [ 'extension' ] == 'idl' and int ( rule . get ( 'msvs_external_rule' , 0 ) ) : return True return False