<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def adversary(self, name, **kwargs):
 """Add Adversary data to Batch object. Args: name (str):
 The name for this Group. date_added (str, kwargs):
 The date timestamp the Indicator was created. xid (str, kwargs):
 The external id for this Group. Returns: obj: An instance of Adversary. """

        group_obj = Adversary(name, **kwargs)
        return self._group(group_obj)