def METHOD_NAME(row):
    for _,_,text in row:
        text_dec = text.decode()
        if case_sensitive and phrase in text_dec:
            return True
        elif not case_sensitive and phrase in text_dec.casefold():
            return True
    return False