Sprawdź, czy obiekt ma kluczowy lodash

_.has(obj, 'key');
Crowded Cottonmouth