fn restricted_set_covers<T: Eq + Hash>( registered: Option<&HashSet<T>>, current: Option<&HashSet<T>>, ) -> bool