Make Component.isValid return a boolean instead of Object

Before fix, isValid would return a ComponentPriv object when valid
and false otherwise. Now it always returns a boolean.

@rev byao@
@bug W-2234783@
Merging origin/tbliss/master-pending-isValid-return-boolean-bugfix into master