[Bug 1775233] Re: Python 2.7 dependency in Utils.banned_ip()