public static bool ForAll <A, B, C, D, T>(this HashMap <A, HashMap <B, HashMap <C, HashMap <D, T> > > > self, Func <T, bool> pred) { return(self.ForAll((k, v) => v.ForAll(pred))); }