def day_2_strategy(passphrase):
    """Return if passphrase is valid is no repeat words
    and no anagrams."""
    valid = True
    words = set()

    for word in passphrase.split():
        sorted_word = ''.join(sorted(word))
        if sorted_word not in words:
            words.add(sorted_word)
        else:
            valid = False
            break

    return valid