private boolean contain(List<String> sources, List<String> targets) {
        for (String target : targets) {
            for (String role : sources) {
                if (role.toLowerCase().contains(target.toLowerCase())) {
                    return true;
                }
            }
        }

        return false;
    }
@return true if any of the provided rule matched (OR condition behaviour), otherwise - false
server/src/main/java/com/epam/aidial/core/server/security/RuleMatcher.java