Set isObjectKey as boolean when property key is not empty