make is_detail macro backwards compatible