MAINT: remove unused function `has_value_for`

As the tin says.