Returns whether a pet action can be used. Used in the default UI to show pet actions as grayed out when the pet cannot be commanded to perform them (e.g. when the player or pet is stunned).
See also Pet functions, Action functions.
index- Index of a pet action button (between 1 and
usable- 1 if the pet action is currently available; otherwise nil (