Is there a more efficient method to check for the presence of an array element within multiple layers of a structure? For example:
if (typeof arr[a][b][c] === 'undefined') { ...do something... }
If [a] or [b] are missing, we cannot accurately test for the existence of [c].
Are there any underscore or lodash functions that can assist with this scenario?