public function contains($url)
    {
        $url = trim($url, '/');

        foreach ($this->entries as $entry) {
            if ($entry['loc'] == $url) {
                return true;
            }
        }

        return false;
    }