piper.magics.PipeMagic.has_trait

PipeMagic.has_trait(name)[source]

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