pub trait AttributeCheck { // Required method fn has_attr(&self, name: &str) -> bool; }
Public trait for attribute checking