def is_special_url(url):
 if (not url.isValid()):
  return False
 special_schemes = ('about', 'qute', 'file')
 return (url.scheme() in special_schemes)

def is_special_url ( url ) : if ( not url . isValid ( ) ) : return False special_schemes = ( 'about' , 'qute' , 'file' ) return ( url . scheme ( ) in special_schemes )
return true if url is an about: .