The is_array() here is only an additional check. $config is always an array (or needs to be).