This could be simpler as `if artefact.web_url.present?`.