Could we just copy `isIP` from node.js to utils file?