code: def drop_layer(self, layer):
          
          if self._frozen:
              raise TypeError('Frozen ConfigNode does not support modification')
          self.reset_layer(layer)
          self._layers.remove(layer)
docs: Removes the named layer and the value associated with it from the node.
  
          Parameters
          ----------
          layer : str
              Name of the layer to drop.
  
          Raises
          ------
          TypeError
              If the node is frozen
          KeyError
              If the named layer does not exist