String checks.

All the strings features.

//cc @fengmk2 @dead-horse 
`isFunction(attr)` spaces should remove