Added IsCoinbase function.