/// <summary> /// Returns true if the given <paramref name="transferPermissionTokenSet"/> is non-null and it contains the given key (token) /// </summary> public static bool GetIsTransferPermitted(this ITokenSet <string> transferPermissionTokenSet, string key) { return(transferPermissionTokenSet.SafeContains(key)); }