private function isRelativeTo($threshold, $above = true)
	{
		$threshold = ip2long($threshold);

		if (!$threshold)
		{
			throw new \RuntimeException('Invalid input, not an IP address');
		}

		return $above ? ($this->ipLong >= $threshold) : ($this->ipLong <= $threshold);
	}
private function isRelativeTo($threshold, $above = true)
	{
		$threshold = ip2long($threshold);

		if (!$threshold)
		{
			throw new \RuntimeException('Invalid input, not an IP address');
		}

		return $above ? ($this->ipLong >= $threshold) : ($this->ipLong <= $threshold);
	}
private function isRelativeTo ( $ threshold , $ above = true ) { $ threshold = ip2long ( $ threshold ) ; if ( ! $ threshold ) { throw new \ RuntimeException ( 'Invalid input, not an IP address' ) ; } return $ above ? ( $ this -> ipLong >= $ threshold ) : ( $ this -> ipLong <= $ threshold ) ; }
Checks to see if the ip address is less than or greater than the given

@param   string  $threshold  The comparison threshold
@param   bool    $above      Whether to check above or below
@return  bool
Checks to see if the ip address is less than or greater than the given