Is the IPv4 address inside 1.0.0.0/8 (APNIC / mixed (Cloudflare 1.1.1.1 also here))? Pure bit-mask check, no network call, returning inside true/false with the range's first/last address and size. Precise allow/deny rules for a well-known block. $0.01 per check.