How to Check if SPGroup Exists

The SharePoint API lacks methods to check for the security group existence. Here is utilities that do the job:         public static bool GroupExists(SPGroupCollection groups, string name)         {             if (string.IsNullOrEmpty(name) ||                 (name.Length > 255) ||                 (groups == null) ||                 (groups.Count == 0))                 return false;             else                 return (groups.GetCollection(new…

8