What Does It Mean?
You are correct!
From our dictionary:
de•us ex ma•chi•na
(dA'us eks mä'ku•nu, dE'us eks mak'u•nu),
1. (in ancient Greek and Roman drama) a god introduced into a play to resolve the entanglements of the plot.
2. any artificial or improbable device resolving the difficulties of a plot.
(dA'us eks mä'ku•nu, dE'us eks mak'u•nu),
1. (in ancient Greek and Roman drama) a god introduced into a play to resolve the entanglements of the plot.
2. any artificial or improbable device resolving the difficulties of a plot.