LPS-46630 Check if it's a virtual layout in both cases