def all_strings(li):
    """
    Returns True iff all items in list are strings.

    Parameters
    ----------
    li : list

    Returns
    -------
    bool

    """
    return all([isinstance(x, str) for x in li])