def is_safe_attribute(self, obj, attr, value):
        return not (attr.startswith('_') or is_internal_attribute(obj, attr))
Register an adapter factory.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/jinja2-2.6/jinja2/sandbox.py/SandboxedEnvironment.is_safe_attribute--crossover with--dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_manager.py/register_factory