Add LayoutData::is_uninhabited and use it
#132255
Merged
LayoutData::is_uninhabited and use it
#132255