code: def registerContract(self, contract):
          
  
          if contract.m_exchange == "":
              return
  
          """
          if contract not in self.contracts.values():
              contract_tuple = self.contract_to_tuple(contract)
              self.createContract(contract_tuple)
  
          if self.tickerId(contract) not in self.contracts.keys():
              contract_tuple = self.contract_to_tuple(contract)
              self.createContract(contract_tuple)
          """
  
          if self.getConId(contract) == 0:
              contract_tuple = self.contract_to_tuple(contract)
              self.createContract(contract_tuple)
docs: used for when callback receives a contract
          that isn't found in local database