public function isAnyOf(array $tests) {
    foreach ($tests as $test) {
      if ($this->is($test)) {
        return TRUE;
      }
    }
    return FALSE;
  }
public function isAnyOf(array $tests) {
    foreach ($tests as $test) {
      if ($this->is($test)) {
        return TRUE;
      }
    }
    return FALSE;
  }
public function isAnyOf ( array $ tests ) { foreach ( $ tests as $ test ) { if ( $ this -> is ( $ test ) ) { return TRUE ; } } return FALSE ; }
Tests if this node matches any the tests in the array.

@param string|callable[] $tests

@return boolean
Tests if this node matches any the tests in the array .