private static function isAttributeMatching($attributeName, $attributePrefixes)
    {
        foreach ($attributePrefixes as $prefix) {
            if (\strpos($attributeName, $prefix) === 0) {
                return true;
            }
        }

        return false;
    }