class_docstr: ListValidator metaclass that can be implemented as a AllowListValidator or BlockListValidator.
  
  The test method must be overridden by its subclass.
class_docstr_tok: ["ListValidator","metaclass","that","can","be","implemented","as","a","AllowListValidator","or","BlockListValidator",".","The","test","method","must","be","overridden","by","its","subclass","."]
code: def _has_pattern_match(self, name: str) -> bool:
      for entry in self.validate_list or ():
          if re2.findall(entry, name.strip().lower()):
              return True
      return False
  
imports: from __future__ import annotations
  import abc
  import logging
  import string
  import warnings
  from functools import partial, wraps
  from typing import Callable, Iterable, Pattern, cast
  import re2
  from airflow.configuration import conf
  from airflow.exceptions import InvalidStatsNameException, RemovedInAirflow3Warning
label_desc: Use image node_id 4 for calling the ListValidator obj's underlying member method code with example usage: obj._has_pattern_match(name) and returns: False, True