Whether this EncodedAsset represents a CodeAsset.
EncodedAsset
bool get isCodeAsset => type == CodeAssetType.type;