original_string: private function isFiltered($key): bool
      {
          foreach ($this->filters as $expression) {
              if (preg_match($expression, $key)) {
                  $this->logger->debug(sprintf('"%1$s" is filtered by "%2$s', $key, $expression));
                  return true;
              }
          }
  
          return false;
      }
code: private function isFiltered($key): bool
      {
          foreach ($this->filters as $expression) {
              if (preg_match($expression, $key)) {
                  $this->logger->debug(sprintf('"%1$s" is filtered by "%2$s', $key, $expression));
                  return true;
              }
          }
  
          return false;
      }
code_tokens: private function isFiltered ( $ key ) : bool { foreach ( $ this -> filters as $ expression ) { if ( preg_match ( $ expression , $ key ) ) { $ this -> logger -> debug ( sprintf ( '"%1$s" is filtered by "%2$s' , $ key , $ expression ) ) ; return true ; } } return false ; }
docstring: Check if the passed key is filtered by any of the regexes.
  
  @param string $key The key to check.
  
  @return bool
docstring_tokens: Check if the passed key is filtered by any of the regexes .