protected function isDuplicateCss(
        PhpRenderer $view,
        $container
    ) {
        /** @var \Zend\View\Helper\HeadLink $headLink */
        $headLink = $view->headLink();

        $containers = $headLink->getContainer();

        foreach ($containers as &$item) {
            if (($item->rel == 'stylesheet')
                && ($item->href == $container->href)
            ) {
                return true;
            }
        }

        return false;
    }