def rectContains(rect, pt):
    """
    This function checks if the point is inside the bounding box

    :param rect: The bounding box of the object
    :param pt: Point to check it's position
    :return: True or False logic
    """
    logic = rect[0] < pt[0] < rect[0] + rect[2] and rect[1] < pt[1] < rect[1] + rect[3]
    return logic