Given two objects, check that the data given in the first object is present in the second object.