ccanlint: add is_excluded() helper.