def point_inside(self, x: int, y: int) -> bool:
        """
        Return True if the point is inside the bounding box.

        Assumes that if the point is on the edge of the bounding box,
        it is considered inside.
        """
        x1, y1, x2, y2 = self.coords
        return x1 <= x <= x2 and y1 <= y <= y2

        Return True if the point is inside the bounding box.

        Assumes that if the point is on the edge of the bounding box,
        it is considered inside.
        
src/datachain/model/bbox.py