Update share one object for check type.
Merge pull request #1315 from hotoo/istype

Update share one object for check type.