Fix isComponent type check.
Merge pull request #4 from ul/master

Fix isComponent type check.