Function Transaction.isCoinbase

A Coinbase transaction is one that has one or more Coinbase outputs However if all outputs are not Coinbase then it will fail validation

bool isCoinbase() pure nothrow @nogc @safe const;