simple assert implementation in haxe