<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete(self):
 """Deletes the photoset. """

        method = 'flickr.photosets.delete'

        _dopost(method, auth=True, photoset_id=self.id)
        return True