Here, simply

validUrl

expresses the intent more clearly than

print(validUrl)