code: def is_group_name_exists(self, group_name):
          
          groups = self.m["groups"]
          for g in groups:
              if (g["group_name"] == group_name):
                  return True
          return False
docs: check if group with given name is already exists