def includes(obj1, obj2):
    """Test if the times for obj1 are completely included in
       the times for obj2"""
    if obj2.end_time >= obj1.end_time and obj2.get_start_time(
        ) <= obj1.get_start_time():
        return True
    return False
