def is_placed(self) -> bool:
        """Whether this window has been placed, i.e. both float offsets are not None."""
        return (
            self.group is not None
            and self.group.screen is not None
            and self.float_x is not None
            and self.float_y is not None
        )
Whether this window has been placed, i.e. both float offsets are not None.
libqtile/backend/base/window.py