def is_empty(string):
    """
    Is the string empty.

    :param string: The string to be tested.

    :Example:

    >>> from pygtftk.utils import is_empty
    >>> assert is_empty("")

    """
    return not string.strip()
