First, I am using an older version of Tasker to produce apps for Android 2.1, so there is no Display > Test > Orientation option. Secondly, there is likely no accelerometer (device is e-reader), so there's nothing to query in that regard.
I currently change screen orientation using the Rotation Locker plugin. I guess I could establish in the task that sets orientation a global variable that I could use in a different task to detect the current orientation.
Is there a more general approach? Suppose someone is rotating their screen by some other means/app. Is there any way to detect/query that?