private function supportsAnyAttribute($attributes)
    {
        foreach ($attributes as $attribute) {
            if ($this->supportsAttribute($attribute)) {
                return true;
            }
        }

        return false;
    }
private function supportsAnyAttribute($attributes)
    {
        foreach ($attributes as $attribute) {
            if ($this->supportsAttribute($attribute)) {
                return true;
            }
        }

        return false;
    }
private function supportsAnyAttribute ( $ attributes ) { foreach ( $ attributes as $ attribute ) { if ( $ this -> supportsAttribute ( $ attribute ) ) { return true ; } } return false ; }
Test if we support any of the attributes.

@param string[] $attributes The attributes to test.

@return bool
Test if we support any of the attributes .