@check_type(dict)
def text_in_note(note, query_string):
    'Performs fuzzy searching against note text.\n\n    :param dict note: an ArchivesSpace note.\n    :param str query_string: a string to match against.\n\n    :returns: True if a match is found for `query_string`, False if no match is\n            found.\n    :rtype: bool\n    '
    CONFIDENCE_RATIO = 97
    'int: Minimum confidence ratio to match against.'
    note_content = get_note_text(note)
    ratio = fuzz.token_sort_ratio(' '.join([n.lower() for n in note_content]), query_string.lower(), score_cutoff=CONFIDENCE_RATIO)
    return bool(ratio)
Performs fuzzy searching against note text.

:param dict note: an ArchivesSpace note.
:param str query_string: a string to match against.

:returns: True if a match is found for `query_string`, False if no match is
        found.
:rtype: bool
@check_type(dict)
def text_in_note(note, query_string):
    'Performs fuzzy searching against note text.\n\n    :param dict note: an ArchivesSpace note.\n    :param str query_string: a string to match against.\n\n    :returns: True if a match is found for `query_string`, False if no match is\n            found.\n    :rtype: bool\n    '
    CONFIDENCE_RATIO = 97
    'int: Minimum confidence ratio to match against.'
    note_content = get_note_text(note)
    ratio = fuzz.token_sort_ratio(' '.join([n.lower() for n in note_content]), query_string.lower(), score_cutoff=CONFIDENCE_RATIO)
    return bool(ratio)