Checks if the given property exists in the given object. This is distinct from hasProperty because it type guards the property rather than the object.
hasProperty
Checks if the given property exists in the given object. This is distinct from
hasProperty
because it type guards the property rather than the object.