/// <summary> /// Checks if the specified node is a valid KeeShare rootNode which represents a user. /// </summary> /// <param name="entry"></param> /// <returns>True is the entry is a valid UserRootNode.</returns> public static bool IsUserRootNode(this PwEntry entry) { Debug.Assert(null != entry); return(entry.IsCustomAttributeSet(KeeShare.AttributeFlags.IsUserGroup)); }