is_subdict

odl.util.testutils.is_subdict(subdict, dictionary)[source]

Return True if all items of subdict are in dictionary.