def savepoint_commit(self, sid):
        self.validate_thread_sharing()
        if self.savepoint_state:
            self._savepoint_commit(sid)
Given a variable and one of its attributes, determine if the attribute is
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/db/backends/__init__.py/BaseDatabaseWrapper.savepoint_commit--crossover with--dataset/ETHPy150Open calebsmith/django-template-debug/template_debug/utils.py/is_valid_in_template