check if obj is a Record, which is any non-nullable object that isn't an array; kind of like a dictionary.
obj
Record
check if
objis aRecord, which is any non-nullable object that isn't an array; kind of like a dictionary.