Helper/Config.php
public function isIPRestricted($storeId = null)
    {
        $clientIP = $this->getClientIp();
        $whitelist = $this->getIPWhitelistArray($storeId);
        return $whitelist && ! in_array($clientIP, $whitelist);
    }
public function isIPRestricted($storeId = null)
    {
        $clientIP = $this->getClientIp();
        $whitelist = $this->getIPWhitelistArray($storeId);
        return $whitelist && ! in_array($clientIP, $whitelist);
    }
public function isIPRestricted ( $ storeId = null ) { $ clientIP = $ this -> getClientIp ( ) ; $ whitelist = $ this -> getIPWhitelistArray ( $ storeId ) ; return $ whitelist && ! in_array ( $ clientIP , $ whitelist ) ; }
Check if the client IP is restricted -
there is an IP whitelist and the client IP is not on the list.

@return bool
Check if the client IP is restricted - there is an IP whitelist and the client IP is not on the list .