class_docstr: An entry has one or more user-agents and zero or more rulelines
docstr: Preconditions:
  - our agent applies to this entry
  - filename is URL decoded
docstr_tok: ["Preconditions",":","-","our","agent","applies","to","this","entry","-","filename","is","URL","decoded"]
code: def allowance(self, filename):
      """Preconditions:
      - our agent applies to this entry
      - filename is URL decoded"""
      for line in self.rulelines:
          if line.applies_to(filename):
              return line.allowance
      return True
  
imports: import collections
  import urllib.parse
  import urllib.request
label_desc: Use image node_id 4 for calling the Entry obj's underlying member method code with example usage: obj.allowance(filename) and returns: True, line