Checks whether given variable is callable. Works fine function and generators in spite of ES6 @@toStringTag