def METHOD_NAME(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.METHOD_NAME
    return True