is_subdict

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

Return True if all items of subdict are in dictionary.