code: def schemes_similar(scheme1, scheme2):
      '''Return whether URL schemes are similar.
  
      This function considers the following schemes to be similar:
  
      * HTTP and HTTPS
  
      '''
      if scheme1 == scheme2:
          return True
  
      if scheme1 in ('http', 'https') and scheme2 in ('http', 'https'):
          return True
  
      return Falsf schemes_similar(scheme1, scheme2):
      '''Return whether URL schemes are similar.
  
      This function considers the following schemes to be similar:
  
      * HTTP and HTTPS
  
      '''
      if scheme1 == scheme2:
          return True
  
      if scheme1 in ('http', 'https') and scheme2 in ('http', 'https'):
          return True
  
      return False
docs: Return whether URL schemes are similar.
  
      This function considers the following schemes to be similar:
  
      * HTTP and HTTPS