code: def get_storage_controller_by_name(self, name):
          
          if not isinstance(name, basestring):
              raise TypeError("name can only be an instance of type basestring")
          storage_controller = self._call("getStorageControllerByName",
                       in_p=[name])
          storage_controller = IStorageController(storage_controller)
          return storage_controller
docs: Returns a storage controller with the given name.
  
          in name of type str
  
          return storage_controller of type :class:`IStorageController`
  
          raises :class:`VBoxErrorObjectNotFound`
              A storage controller with given name doesn't exist.