def set_stability_method(self, stability_method=None, **kwargs):
        if stability_method is not None:
            self.stability_method = stability_method
        for name in KalmanFilter.stability_methods:
            if name in kwargs:
                setattr(self, name, kwargs[name])
dynamically class load hooks
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/statespace/kalman_filter.py/KalmanFilter.set_stability_method--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/tests/core_plugin_test_case.py/CorePluginTestCase.test_dynamically_added_class_load_hooks