def comments_open(self, obj):
        model = obj.__class__
        if model not in self._registry:
            return True
        return self._registry[model].comments_open(obj)
Test that shadowing a global with a class attribute does not produce a
dataset/ETHPy150Open jezdez-archive/django-comment-utils/comment_utils/moderation.py/Moderator.comments_open--crossover with--dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_imports.py/Test.test_redefinedInClass