'Assert `first` has a key in `second` where it\'s a prefix.
Note: needs to be defined for Python 2.6'

def assertInPartial(self, first, second):

    self.assertTrue(any((key for key in second if key.startswith(first))), '{0}    not    in    {1}'.format(first, second))
