function isRegisteredKernelInvocation(kernelInvocation) {
    return kernelInvocation.kernelName != null;
}
A implementation of the add op for use within engine and tape.

This allows us to avoid a circular dependency between add.ts and engine.
It is exported to be available in tape tests.