    def is_footnote(self):
        """Return whether this box is a footnote."""
        return self.style['float'] == 'footnote'
Return whether this box is a footnote.
weasyprint/formatting_structure/boxes.py