def is_widget_with_placeholder(widget):
 return isinstance(widget, (TextInput, Textarea, PasswordInput))

def is_widget_with_placeholder ( widget ) : return isinstance ( widget , ( TextInput , Textarea , PasswordInput ) )
is this a widget that should have a placeholder? only text .