Revert change to isProperty function