code: def is_variable_matched_by_regexes(
      variable, regexes: List[str]
  ) -> bool:
      """Whether variable is matched in regexes list by its name."""
      if regexes:
          # var_name = get_variable_name(variable)
          var_name = variable.name
          for r in regexes:
              if re.search(r, var_name):
                  return True
      return False
  
imports: import re
  import tensorflow
  from typing import List
label_desc: Use image node_id 3 for calling a global function with example usage: is_variable_matched_by_regexes(variable, regexes) and returns: False, True