@if (config is not null && layout is not null) { } else { }