PlotlyWidget.has_trait

PlotlyWidget.has_trait(name)

Returns True if the object has a trait with the specified name.