boolean (RunConfiguration configuration) { return configuration instanceof JUnitConfiguration && JUnitConfiguration.TEST_PATTERN.equals(((JUnitConfiguration)configuration).getPersistentData().TEST_OBJECT); }