You should be able to use `absurl.startswith(('http://', 'https://', '//'))` here.