'Determine whether a given comment is allowed to be posted on
a given object.
Return ``True`` if the comment should be allowed, ``False
otherwise.'

def allow(self, comment, content_object, request):

    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
