def METHOD_NAME(self, _id: int) -> bool:
    """
    Shutdown and delete a CORE session.
    :param _id: session id to delete
    :return: True if deleted, False otherwise
    """
    logger.info("deleting session: %s", _id)
    session = self.sessions.pop(_id, None)
    result = False
    if session:
        logger.info("shutting session down: %s", _id)
        session.data_collect()
        session.shutdown()
        result = True
    else:
        logger.error("session to delete did not exist: %s", _id)
    return result