Is this config merged with previous config? Does `$elementSpec['spec']` already exist before? Otherwise, it can be done with a single assignment