public static boolean inSeparatedString(String target, String separatedStr, String separator) {
        if (StringUtils.isBlank(target) || StringUtils.isBlank(separatedStr)) {
            return false;
        }
        Set<String> set = new HashSet<>(Arrays.asList(separatedStr.split(separator)));
        return set.contains(target);
    }
Whether a target string is in a string separated by the separator.

@param target target string, such as "foo"
@param separatedStr separated string, such as "boo,and,foo"
@param separator separator of separatedStr, such as ","
@return true if target in separatedStr
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/util/Preconditions.java