pub fn has_protected_items<T: Id, C: Context<T>>(active_context: &C) -> bool
Checks if the given context has a protected definition.