What about something like:
```php
foreach ($this->ips as $ip) { 
    if (IpUtils::checkIp($request->getClientIp(), $ip)) {
        return true;
    }
}

return false;