code: def removeLayer(self, layer):
          
          if isinstance(layer, BaseGlyph):
              layer = layer.layer.name
          layerName = layer
          layerName = normalizers.normalizeLayerName(layerName)
          if self._getLayer(layerName).layer.name == layerName:
              self._removeLayer(layerName)
docs: Remove ``layer`` from this glyph.
  
              >>> glyph.removeLayer("background")
  
          Layer can be a :ref:`type-glyph-layer` or a :ref:`type-string`
          representing a layer name.