def check_data_exists_or_not_alert(self):
        """Check_data_exists_or_not is to check if the data is exists or not using the timestamp file.

        Args:
            self: Armis object.

        """
        alert_field_list = ["alertId", "type", "title", "description", "severity", "time", "status",
                            "deviceIds", "activityUUIDs"]
        try:
            parameter_alert = {
                "aql": "in:alerts",
                "orderBy": "time",
                "fields": ','.join(alert_field_list),
            }
            state_alerts = StateManager(
                connection_string=connection_string, file_path="funcarmisalertsfile"
            )
            last_time_alerts = state_alerts.get()
            if last_time_alerts is None:
                logging.info(
                    "Armis Alert Connector: The last run timestamp is not available for the alerts!"
                )
                self._fetch_alert_data(
                    parameter_alert,
                    state_alerts,
                    armis_alerts,
                    True,
                    last_time_alerts,
                )
                logging.info("Armis Alert Connector: Data ingestion initiated.")
            else:
                logging.info(
                    "Armis Alert Connector: The last time point is available in alerts: {}.".format(
                        last_time_alerts
                    )
                )
                self._fetch_alert_data(
                    parameter_alert,
                    state_alerts,
                    armis_alerts,
                    False,
                    last_time_alerts,
                )
                logging.info(
                    "Armis Alert Connector: Data added when logs was already in %s.",
                    armis_alerts,
                )
            logging.info("Armis Alert Connector: Alerts data added successfully !")
        except ArmisException as err:
            logging.error(err)
            raise ArmisException(
                "Armis Alert Connector: Error occured during checking whether log table exist or not."
            )

        except ArmisDataNotFoundException:
            raise ArmisDataNotFoundException()
Check_data_exists_or_not is to check if the data is exists or not using the timestamp file.

        Args:
            self: Armis object.

        
Solutions/Armis/Data Connectors/ArmisAlerts/ArmisAlertSentinelConnector/__init__.py