In this example, this contract only burn if it's the owner and reject anything else.
contract test {import Runtime; global owner : address;triggeronBurn(from:address, symbol:string, amount:number) {Runtime.expect(Runtime.isWitness(owner),"Only owner can burn!");return; }}