public boolean isEnabled() {
        return !allowedCpusList.isEmpty();
    }
@Test
    public void whenIndividualCores() {
        ThreadAffinity threadAffinity = new ThreadAffinity("1,3,4,8");

        assertTrue(threadAffinity.isEnabled());
        assertEquals(4, threadAffinity.allowedCpusList.size());
        assertEquals(threadAffinity.allowedCpusList.get(0), newBitset(1));
        assertEquals(threadAffinity.allowedCpusList.get(1), newBitset(3));
        assertEquals(threadAffinity.allowedCpusList.get(2), newBitset(4));
        assertEquals(threadAffinity.allowedCpusList.get(3), newBitset(8));
    }