def get_sentinel_cofense_id_table(self):
        """To get sentinel cofense id table from state manager."""
        __method_name = inspect.currentframe().f_code.co_name
        # Initializing state manager for sentinel and cofense indicator id table.
        self.sentinel_cofense_id_table_state = StateManager(
            connection_string=CONNECTION_STRING,
            file_path="sentinel_cofense_id_table",
        )
        try:
            sentinel_cofense_id_table_data = self.sentinel_cofense_id_table_state.get(
                SENTINEL_TO_COFENSE
            )
        except Exception as error:
            applogger.error(
                "{}(method={}) : {} Error: {} : "
                "Error occurred while getting sentinel cofense mapping id table data "
                "from sentinel cofense id table state manager.".format(
                    LOGS_STARTS_WITH, __method_name, SENTINEL_TO_COFENSE, error
                )
            )
            raise error

        # To do: remove "is not None".
        if sentinel_cofense_id_table_data is not None:
            self.sentinel_cofense_id_table = json.loads(sentinel_cofense_id_table_data)
            applogger.info(
                "{}(method={}) : {} : "
                "Sentinel Cofense ID table successfully fetched.".format(
                    LOGS_STARTS_WITH,
                    __method_name,
                    SENTINEL_TO_COFENSE,
                )
            )
        else:
            # if table data is none then initialize the id table.
            self.sentinel_cofense_id_table = {}
            applogger.info(
                "{}(method={}) : {} : "
                "Sentinel Cofense ID table not found. Creating it.".format(
                    LOGS_STARTS_WITH,
                    __method_name,
                    SENTINEL_TO_COFENSE,
                )
            )
To get sentinel cofense id table from state manager.
Solutions/CofenseTriage/Data Connectors/CofenseTriageDataConnector/NonCofenseBasedIndicatorCreatorToCofense/sentinel.py