def METHOD_NAME(self, msg):
    if self.app._jdaviz_helper._in_batch_load > 0:
        return
    if isinstance(msg, DataCollectionAddMessage):
        components = [str(comp) for comp in msg.data.main_components]
        if "ra" in components or "Lon" in components:
            # linking currently removes any markers, so we want to skip
            # linking immediately after new markers are added
            # (see imviz.helper.link_image_data).
            # Eventually we'll probably want to support linking WITH markers,
            # at which point this if-statement should be removed.
            return
    self._link_image_data()