def overlaps(self, other):
return self.network_address in other or (<EOL>self.broadcast_address in other or (<EOL>other.network_address in self or (<EOL>other.broadcast_address in self)))<EOL>
Tell if self is partly contained in other.