'Recycle (discard) the specified amount of item from the item inventory.
It is making a call to the server to request a recycling as well as updating the cached inventory.
:param amount_to_recycle: The amount to recycle.
:type amount_to_recycle: int
:return: Returns whether or not the task went well
:rtype: worker_result.WorkerResult'

def recycle(self, amount_to_recycle):

    if (self.count < amount_to_recycle):
        raise Exception('Tried    to    remove    more    {}    than    you    have'.format(self.name))
    item_recycler = ItemRecycler(_inventory.bot, self, amount_to_recycle)
    item_recycler_work_result = item_recycler.work()
    if item_recycler.is_recycling_success():
        self.remove(amount_to_recycle)
    return item_recycler_work_result
