def regions_overlap(region_a, region_b):
    """Test if regions are identical"""
    if region_a is None or region_b is None:
        return False
    return region_a["base"] == region_b["base"] and region_a["length"] == region_b["length"]