def METHOD_NAME(self):
    parent = self.cleaned_data['parent']
    if parent and parent.is_archived:
        raise forms.ValidationError('The parent is archived therefore can not add child under it.')
    return parent