'Check if target group exist.
:param target_group: target group
:return: True if target group exist, else False'

def _target_group_exists(self, target_group):

    groups = self.nms.stmf.list_targetgroups()
    if (not groups):
        return False
    return (target_group in groups)
