I'd prefer to see this wrapped up into its own function (maybe `checkApiLevel`), and just have it as another step in the chain, probably between `prepareDevice` and `pushStrings`? If it fails, it just sends an err to the callback and the flow will automatically fail and respond. That way this function stays clean and readable.