private function optionalAttributesProvided(RoutePath $path): bool
    {
        $pathAttributes = array_map(function (Attribute $attribute) {
            return $attribute->getName();
        }, $path->getAttributes());

        $specifiedAttributes = array_keys($this->attributes);

        $unfilledAttributes = array_intersect($pathAttributes, $specifiedAttributes);

        return !empty($unfilledAttributes);
    }