    def is_in_normal_flow(self):
        """Return whether this box is in normal flow."""
        return not (
            self.is_floated() or self.is_absolutely_positioned() or
            self.is_running() or self.is_footnote())
Return whether this box is in normal flow.
weasyprint/formatting_structure/boxes.py