Main entry point for spam handling - called from the comment view and
    page processor for ``yacms.forms``, to check if posted content is
    spam. Spam filters are configured via the ``SPAM_FILTERS`` setting.

def is_spam(request, form, url):
    """
    Main entry point for spam handling - called from the comment view and
    page processor for ``yacms.forms``, to check if posted content is
    spam. Spam filters are configured via the ``SPAM_FILTERS`` setting.
    """
    for spam_filter_path in settings.SPAM_FILTERS:
        spam_filter = import_dotted_path(spam_filter_path)
        if spam_filter(request, form, url):
            return True