def is_viable_non_dupe(text: str, comparison) -> bool:
    """text must be longer than 2 ('""'), not 'NULL' and not in comparison.

    :param text: String to be tested.
    :param comparison: Dictionary or set to search for text in.
    :return: bool
    """
    return 2 < len(text) and text != 'NULL' and text not in comparison