public final function HasTrait($Type) { foreach ($this->Traits as $Trait) { if ($Trait instanceof $Type) { return true; } } return false; }