def validate_timestamp(self, last_seen_time):
        """function is used to validate the timestamp format. The timestamp should be in
        ISO 8601 format 'YYYY-MM-DDTHH:MM:SS'. If the timestamp is not in correct format, it will
        be formatted according to the given timestamp format.

        Args:
            last_seen_time (String): Timestamp string to be validated.

        Returns:
            String: Validated timestamp string.
        """
        try:
            if len(last_seen_time) != 19:
                if len(last_seen_time) == 10:
                    last_seen_time += "T00:00:00"
                    logging.info(
                        "Armis Device Connector: 'T:00:00:00' added as only date is available."
                    )
                else:
                    splited_time = last_seen_time.split("T")
                    if len(splited_time[1]) == 5:
                        splited_time[1] += ":00"
                        logging.info(
                            "Armis Device Connector: ':00' added as seconds not available."
                        )
                    elif len(splited_time[1]) == 2:
                        splited_time[1] += ":00:00"
                        logging.info(
                            "Armis Device Connector: ':00:00' added as only hour is available."
                        )
                    last_seen_time = "T".join(splited_time)
            return last_seen_time
        except Exception as err:
            logging.error("Armis Device Connector: Error occurred: {}".format(err))
            raise ArmisException(err)
function is used to validate the timestamp format. The timestamp should be in
        ISO 8601 format 'YYYY-MM-DDTHH:MM:SS'. If the timestamp is not in correct format, it will
        be formatted according to the given timestamp format.

        Args:
            last_seen_time (String): Timestamp string to be validated.

        Returns:
            String: Validated timestamp string.
        
Solutions/Armis/Data Connectors/ArmisDevice/ArmisDeviceSentinelConnector/__init__.py