Optimize isObject and use in bind
Merge pull request #1725 from megawac/obj

Optimize isObject and use in bind