code: def host_first(self):
          
          if (self.version() == 4 and self.mask > 30) or \
                  (self.version() == 6 and self.mask > 126):
              return self
          else:
              return IP(self.network_long() + 1, version=self.version())
docs: First available host in this subnet.