function isClass(fn) { return !Object.getOwnPropertyDescriptor(fn, 'prototype').writable; }
https://babeljs.io/repl/build/master/#?babili=false&browsers...
https://www.typescriptlang.org/play/index.html#src=function%...