Add isLocal method to NetAddr

Signed-off-by: Scott Wilson <i@scottwilson.ca>