boolean (@NotNull RunConfiguration configuration) { if (configuration instanceof RunProfileWithCompileBeforeLaunchOption) { return ((RunProfileWithCompileBeforeLaunchOption)configuration).isBuildBeforeLaunchAddedByDefault(); } else { return false; } }