def allow(self, comment, content_object, request):
        """
        Determine whether a given comment is allowed to be posted on
        a given object.

        Return ``True`` if the comment should be allowed, ``False
        otherwise.

        """
        if self.enable_field:
            if not getattr(content_object, self.enable_field):
                return False
        if self.auto_close_field and self.close_after is not None:
            close_after_date = getattr(content_object, self.auto_close_field)
            if close_after_date is not None and self.close_after >= self._get_delta(timezone.now(), close_after_date).days:
                return False
        return True
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/comments/moderation.py/CommentModerator.allow/swapped operands of `>=`