Correct Answer : getActiveStageIds()
Explanation : The active stage ids are returned by getActiveStageIds() in an array.