Checks if the string contains ANY of provided patterns.
bool containsAny({required List<String> patterns}) { if (this == null) return false; return patterns.any((p) => this!.contains(p)); }