'Ensure that the data server exists on the mapping.'

def _EnsureServerInMapping(self, server):

    index = server.Index()
    server_info = self.mapping.servers[index]
    if (server_info.address != server.Address()):
        return False
    if (server_info.port != server.Port()):
        return False
    server.server_info = server_info
