sameSourceDataCheck function

Check that data came from the same source.