def isexact(x):
    """True if all components of x contain exactly one number.

    For instance,

        >>> isexact(interval(1, 2))
        True
        >>> isexact(interval([1], [2, 3]))
        False

    """
    return all(c.inf == c.sup for c in x)