code: def check_row_for_test(row, filters_fields, filters, test_field):
      """Checks if the current row of the csv recipe file has a test to run.
  
      Arguments
      ---------
      row: dict
          Line of the csv file (in dict from).
      filters_fields: list
          This can be used with the "filter" variable
          to run only some tests. For instance, filters_fields=['Task'] and filters=['ASR'])
          will only run tests for ASR recipes.
      filters: list
          See above.
      test_field: string
          Key of the input dictionary that contains the test flags.
  
      Returns
      ---------
      test: bool
          True if the line must be tested, False otherwise.
      """
      test = True
      for i, field in enumerate(filters_fields):
          field_values = filters[i]
          if type(field_values) == str:
              # ... AND ... filter
              if not (field_values == row[field]):
                  test = False
          elif type(field_values) == list:  # type(field) == list
              # ... AND (... OR ...) ... filter; at least one entry of the list matches
              test_flag = False
              for filt in field_values:
                  if filt == row[field]:
                      test_flag = True
              test = test and test_flag
          else:
              print("\tError in filters_fields and filters definition.")
              test = False
  
      if test:
          test_flag = row[test_field].strip()
          if len(test_flag) == 0:
              test = False
      return test
  
file_path: speechbrain/tests/utils/recipe_tests.py
imports: import os
  import re
  import csv
  import sys
  import pydoc
  from time import time
  import subprocess
  from hyperpyyaml import load_hyperpyyaml
  from speechbrain.utils.data_utils import download_file
label_desc: Use image node_id 1 for calling a global function with example usage: check_row_for_test(row, filters_fields, filters, test_field) and returns: test