Check if an object has a nested property
Object to check
Path of property. Syntax: 'prop1.prop2.prop3...'
Check if an object has a nested property