fn has_phrase(lower: &str, phrase: &str) -> bool
Whether phrase occurs in lower as whole words. A bare substring match would read “has an AI summary bug” as the refusal “as an ai”.
phrase
lower