def has_overlap(x0, xd, y0, yd):
    """Return True if the ranges overlap.

    Parameters
    ----------
    x0, y0 : float
        The min values of the ranges
    xd, yd : float
        The widths of the ranges

    """
    return x0 + xd >= y0 and y0 + yd >= x0