def METHOD_NAME(self, user):
    """Can the user delete the document?"""
    # Locale leaders can delete documents in their locale.
    locale = self.locale
    if _is_leader(locale, user):
        return True
    # Fallback to the django permission.
    return user.has_perm("wiki.delete_document")