macro_rules! has_trait {
    ($component:expr, $trait:ty) => { ... };
}