code: def removeLayer(self, name):
          
          name = normalizers.normalizeLayerName(name)
          if name not in self.layerOrder:
              raise ValueError("No layer with the name '%s' exists." % name)
          self._removeLayer(name)
docs: Remove the layer with **name** from the font.
  
              >>> font.removeLayer("My Layer 3")