public function contains(Address $address)
    {
        $addressValue = $address->get();

        return $addressValue >= $this->firstAddress->get() && $addressValue <= $this->lastAddress->get();
    }
public function contains(Address $address)
    {
        $addressValue = $address->get();

        return $addressValue >= $this->firstAddress->get() && $addressValue <= $this->lastAddress->get();
    }
public function contains ( Address $ address ) { $ addressValue = $ address -> get ( ) ; return $ addressValue >= $ this -> firstAddress -> get ( ) && $ addressValue <= $ this -> lastAddress -> get ( ) ; }
Determine if a given address is contained within the range.

@param \JAAulde\IP\V4\Address $address The address we want to know about

@return bool
Determine if a given address is contained within the range .