Returns whether a unit is on one of the quests in the player's quest log
See also Unit functions, Quest functions.
index- Index of a quest in the player's quest log (between 1 and
unit- A unit to query (
name- The name of a unit to query; only valid for
pet, and party/raid members (
state- 1 if the unit is on the quest; otherwise nil (