code: def network_exists(self, network_view, cidr):
          
          LOG.warning(
              "DEPRECATION WARNING! Using network_exists() is deprecated "
              "and to be removed in next releases. "
              "Use get_network() or objects.Network.search instead")
          network = obj.Network.search(self.connector,
                                       network_view=network_view,
                                       cidr=cidr)
          return network is not None
docs: Deprecated, use get_network() instead.