code: def get_contract_from_name(self, contract_name):
          
          return next((c for c in self.contracts if c.name == contract_name), None)
docs: Return a contract from a name
          Args:
              contract_name (str): name of the contract
          Returns:
              Contract