Check if a token is approved for transfer by a given account, optionally
checking an approval_id
Arguments:
token_id: the token for which to revoke an approval
approved_account_id: the account to check the existence of in approvals
approval_id: an optional approval ID to check against current approval ID for given account
Returns:
if approval_id given, true if approved_account_id is approved with given approval_id
otherwise, true if approved_account_id is in list of approved accounts
Check if a token is approved for transfer by a given account, optionally checking an approval_id
Arguments:
token_id: the token for which to revoke an approvalapproved_account_id: the account to check the existence of inapprovalsapproval_id: an optional approval ID to check against current approval ID for given accountReturns: if
approval_idgiven,trueifapproved_account_idis approved with givenapproval_idotherwise,trueifapproved_account_idis in list of approved accountsview