'Mark a library item as deleted'

def delete_library_item(self, cntrller, library_id, item_id, item_name, item_type='library_dataset'):

    params = dict(cntrller=cntrller, library_id=library_id, item_id=item_id, item_type=item_type)
    self.visit_url('/library_common/delete_library_item', params)
    if (item_type == 'library_dataset'):
        item_desc = 'Dataset'
    else:
        item_desc = item_type.capitalize()
    check_str = 'marked    deleted'
    self.check_for_strings(strings_displayed=[item_desc, check_str])
