import itertools


def is_valid_passphrase_part2(passphrase):
    """
    Test that the passphase is valid by making sure no two words contain the same
    set of letters.

    Parameters
    ----------
    passphrase : str
        The passphrase to be checked.

    Returns
    -------
    bool
        True if the passphrase is valid, otherwise False.

    """
    words = passphrase.split()
    # Get all possible length-2 combinations of words
    combos = itertools.combinations(words, 2)
    for (word_1, word_2) in combos:
        if set(word_1) == set(word_2):
            return False
    return True