def allow(self, comment, content_object):
        if self.enable_field:
            if not getattr(content_object, self.enable_field):
                return False
        if self.auto_close_field and self.close_after:
            if self._get_delta(datetime.datetime.now(), getattr(content_object, self.auto_close_field)).days >= self.close_after:
                return False
        return True
Determine whether a given comment is allowed to be posted on
dataset/ETHPy150Open jezdez-archive/django-comment-utils/comment_utils/moderation.py/CommentModerator.allow