def is_schedule_combineable(schedule_a, schedule_b):
    """Checks to if two schedule overlaps and are of the same group.

    Args:
        schedule_a: Schedule to compare for overlap (start time is less or equal to schedule B)
        schedule_b: Schedule to compare or overlap
    Returns:
        True if combineable, False otherwise
    """
    intersects = schedule_a.start <= schedule_b.end and schedule_b.start <= schedule_a.end
    return schedule_a.value == schedule_b.value and intersects