is_private method

bool is_private()

Checks if an IPv4 address objects belongs to a private network RFC1918

Example:

ip = IPAddress "10.1.1.1/24" ip.private? /// true

Implementation

bool is_private() {
  return this.vt_is_private(this);
}