from typing import Dict


def groups_intersect(group_a: Dict, group_b: Dict):
    """Check if groups intersect."""
    x_max = int(group_a["xMax"])
    x_min = int(group_a["xMin"])
    y_max = int(group_a["yMax"])
    y_min = int(group_a["yMin"])

    x_maxB = int(group_b["xMax"])
    x_minB = int(group_b["xMin"])
    y_maxB = int(group_b["yMax"])
    y_minB = int(group_b["yMin"])

    return (
        (x_min <= x_maxB)
        and (x_minB <= x_max)
        and (y_min <= y_maxB)
        and (y_minB <= y_max)
    )