shouldRunOnMainThread

Determines which thread runs the action.

Return

true if the action should be run on the main thread, or false if the action should run on a background thread.