It's not really clean and may not be the right solution for your case. But an alternative is to check if the object or class implements a method of the Trait (as usually you don't overwrite existing methods with Trait)
if (method_exists($my_object, 'MyTraitSpecificMethod')){
...
}