This function checks a user account record for the existence of a specified
operator privilege or command.
Parameters:
- user Pointer to the account record of the user in question.
- index The number of the privilege or operator command in
question. This is one of the USY_x constants.
Returns:
Zero if the user lacks the privilege or command, non-zero if they
have it.