docstr: Returns True if file select is disabled.
  
  This is an optimization to disable file select by appending an exclude
  '*' to a rule set.
  
  Assumes not disabled until finds a disable all pattern (untyped
  match of '*'). Disable pattern can be reset by any include
  pattern.
docstr_tok: ["Returns","True","if","file","select","is","disabled",".","This","is","an","optimization","to","disable","file","select","by","appending","an","exclude","'","*","'","to","a","rule","set",".","Assumes","not","disabled","until","finds","a","disable","all","pattern","(","untyped","match","of","'","*","'",")",".","Disable","pattern","can","be","reset","by","any","include","pattern","."]
code: def _init_disabled(self):
      """Returns True if file select is disabled.
  
      This is an optimization to disable file select by appending an exclude
      '*' to a rule set.
  
      Assumes not disabled until finds a disable all pattern (untyped
      match of '*'). Disable pattern can be reset by any include
      pattern.
      """
      disabled = False
      for rule in self.rules:
          if rule.result:
              disabled = False
          elif "*" in rule.patterns and rule.type is None:
              disabled = True
      return disabled
  
imports: import fnmatch
  import glob
  import logging
  import os
  import re
  import shutil
  from guild import util
label_desc: Use image node_id 3 for calling the FileSelect obj's underlying member method code with example usage: obj._init_disabled() and returns: disabled