Answer:
Yes it is a plot device
It is latin for "god out of machine".It is used when the problem/crisis of the story is solved abruptly.Example:A new character coming out of nowhere and ultimately resolving the situation.Generally it is used to criticize the lack of creativity
on the part of the author.