checking config for array