func Noop(instance Instance, state model.State) (Logic, error) {
    noop, ok := state.(*model.NoopState)
    if !ok {
        return nil, derrors.NewInternalError(errors.New("bad state object"))
    }