<commit_before>using System.Collections.Generic;

namespace GitSharp.Core.Util
{
    public static class IListUtil
    {
        public static bool isEmpty<T>(this IList<T> l)
        {<commit_msg>Broadened the usage of isEmpty() extension method from IList<> to ICollection<> derived types.<commit_after>using System.Collections.Generic;

namespace GitSharp.Core.Util
{
    public static class IListUtil
    {
        public static bool isEmpty<T>(this ICollection<T> l)
        {
{'fraction_non_alphanumeric': 0.08523908523908524, 'fraction_numerical': 0.0, 'mean_word_length': 3.6346153846153846, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '221140', 'n_tokens_mistral': 138, 'n_tokens_neox': 135, 'n_words': 40}