code: def Get(self,key):
  		
  
  		for network in self.networks:
  			try:
  				if network.id == key:  return(network)
  				if network.name == key:  return(network)
  				if network.cidr == key:  return(network)
  			except:
  				# We ignore malformed records with missing attributes
  				pass
docs: Get network by providing name, ID, or other unique key.
  
  		If key is not unique and finds multiple matches only the first
  		will be returned