This is out of context, so I might not be understanding what your comment means, but you can definitely test for callability: `typeof then === "function"`.