removed norm_engine dependency on deprecated encoder_base::has_data() method