$is_html variable name is not very descriptive, can we change it to something more meaningful?