public function isUseableRaikiri($class)
    {
        $traits = [];
        do {
            $traits = array_merge($traits, class_uses($class));
        } while ($class = get_parent_class($class));
        foreach ($traits as $trait) {
            $traits = array_merge($traits, class_uses($trait));
        }

        return in_array('Samurai\\Raikiri\\DependencyInjectable', $traits);
    }