I found the name of this function a bit confusing, at first I though it meant is should use the default proxy settings (.* for whitelist and no value for blacklist), but instead if means whether it should use a proxy or not. IMO it might be easier to understand with a different name, i.e shouldUseProxy.