def box_is_in_box(bbox_a, bbox_b):
    """
    Checks if bounding-box "a" is fully inside bounding-box "b".

    Args:
      bbox_a: The ``BBox`` object you want to identify as "in" or "out".
      bbox_b: The ``BBox`` object that might contain bbox_a.
    Returns:
      True if "a" is inside "b"; false otherwise.
    """
    if (bbox_a.xmin > bbox_b.xmin and bbox_a.xmax < bbox_b.xmax) and (
            bbox_a.ymin > bbox_b.ymin and bbox_a.ymax < bbox_b.ymax):
        return True
    return False