def is_instance_of(self, some_class):
        if type(some_class) is not type:
            raise TypeError('given arg must be a class')
        if not isinstance(self.val, some_class):
            if hasattr(self.val, '__name__'):
                t = self.val.__name__
            elif hasattr(self.val, '__class__'):
                t = self.val.__class__.__name__
            else:
                t = 'unknown'
            self._err('Expected <%s:%s> to be instance of class <%s>, but was not.' % (self.val, t, some_class.__name__))
        return self
Return a user stats dic or create a new one
dataset/ETHPy150Open ActivisionGameScience/assertpy/assertpy/assertpy.py/AssertionBuilder.is_instance_of--crossover with--dataset/ETHPy150Open jookies/jasmin/jasmin/routing/jasminApi.py/UserStats.get