public static boolean endsWithAny(CharSequence string, CharSequence... searchStrings) {
        if (isEmpty(string) || ArrayUtils.isEmpty(searchStrings)) {
            return false;
        }
        for (CharSequence searchString : searchStrings) {
            if (StringUtils.endsWith(string, searchString)) {
                return true;
            }
        }
        return false;
    }
<p>Check if a CharSequence ends with any of an array of specified strings.</p>

<pre>
StringUtils.endsWithAny(null, null)      = false
StringUtils.endsWithAny(null, new String[] {"abc"})  = false
StringUtils.endsWithAny("abcxyz", null)     = false
StringUtils.endsWithAny("abcxyz", new String[] {""}) = true
StringUtils.endsWithAny("abcxyz", new String[] {"xyz"}) = true
StringUtils.endsWithAny("abcxyz", new String[] {null, "xyz", "abc"}) = true
</pre>

@param string  the CharSequence to check, may be null
@param searchStrings the CharSequences to find, may be null or empty
@return {@code true} if the CharSequence ends with any of the the prefixes, case insensitive, or
 both {@code null}
@since 3.0
android/android_framework/base/src/main/java/lang3/StringUtils.java