protected static function checkBotIPv6($UserIP = false, $Bot_IPv6_List = false)
    {
        if (false === $Bot_IPv6_List)
        {
            return false;
        }
        // Check if IP present
        if ($UserIP === false)
        {
            if (\Environment::get('remoteAddr'))
            {
                if (strpos(\Environment::get('remoteAddr'), ',') !== false) //first IP
                {
                    $UserIP =  trim(substr(\Environment::get('remoteAddr'), 0, strpos(\Environment::get('remoteAddr'), ',')));
                }
                else
                {
                    $UserIP = trim(\Environment::get('remoteAddr'));
                }
            }
            else
            {
                return false; // No IP, no search.
            }
        }
        // search user IP in bot-ip-list-ipv6
        if (file_exists($Bot_IPv6_List))
        {
            $source = file($Bot_IPv6_List);
            foreach ($source as $line)
            {
                if ($line[0] === '#') 
                {
                	continue;
                }
                $lineleft = explode("#", $line); // Abtrennen IP von Bemerkung
                $network = explode("/", trim($lineleft[0]));

                if (!isset($network[1]))
                {
                    $network[1] = 128;
                }
                if (static::checkIp6InNetwork($UserIP,$network[0],$network[1]))
                {
                    return true; // IP found
                }
            }
        }
        // search for user bot IP-filter definitions in localconfig.php
        if ( isset($GLOBALS['BOTDETECTION']['BOT_IPV6']) )
        {
            foreach ($GLOBALS['BOTDETECTION']['BOT_IPV6'] as $lineleft)
            {
                $network = explode("/", trim($lineleft));
                if (!isset($network[1]))
                {
                    $network[1] = 128;
                }
                if (static::checkIp6InNetwork($UserIP,$network[0],$network[1]))
                {
                    return true; // IP found
                }
            }
        }
        return false;
    }