Move check_for_constant_string