Use RawLayoutNodeHelpers' get_enabled_state_for_layout