<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stub_batch(cls, size, **kwargs):
 """Stub a batch of instances of the given class, with overriden attrs. Args: size (int):
 the number of instances to stub Returns: object list: the stubbed instances """

        return [cls.stub(**kwargs) for _ in range(size)]