Check whether all the mechanism types are in the list.
The arguments should be a list of CKM_XXX mechanism types. The last argument should be GCK_INVALID.
A list of mechanisms, perhaps retrieved from get_mechanisms.
A list of mechanism types followed by GCK_INVALID.
Whether the mechanism is in the list or not.