Check if a path exists in an object.
The type of the object to get the value from
The object to check
The path string, e.g. a.b.c
a.b.c
Check if a path exists in an object.