code: def attach(self, to_linode, config=None):
          
          result = self._client.post('{}/attach'.format(Volume.api_endpoint), model=self,
                  data={
                      "linode_id": to_linode.id if issubclass(type(to_linode), Base) else to_linode,
                      "config": None if not config else config.id if issubclass(type(config), Base) else config,
          })
  
          if not 'id' in result:
              raise UnexpectedResponseError('Unexpected response when attaching volume!', json=result)
  
          self._populate(result)
          return True
docs: Attaches this Volume to the given Linode