isFunction should return the boolean value

Typo?