Function to check whether a given IP is in a given subnet
Merge pull request #19128 from syphernl/feature/add_in_network

Function to check whether a given IP is in a given subnet