def is_break_tag ( self , el ) : name = el . name return name in self . break_tags or name in self . user_break_tags
can you chain if tags in python
Check if tag is an element we should break on .
def is_break_tag(self, el):
        """Check if tag is an element we should break on."""

        name = el.name
        return name in self.break_tags or name in self.user_break_tags