I think I will replace dict_get with 'self.session_id_key' and add AttibuteError to catch.