boolean (RunConfiguration configuration) { return configuration instanceof TestNGConfiguration && TestType.PATTERN.getType().equals(((TestNGConfiguration)configuration).getPersistantData().TEST_OBJECT); }