'Adding image location to scrub queue.
:param image_id: The opaque image identifier
:param location: The opaque image location
:returns: A boolean value to indicate success or not'

def add_location(self, image_id, location):

    loc_id = location.get('id')
    if loc_id:
        db_api.get_api().image_location_delete(self.admin_context, image_id, loc_id, 'pending_delete')
        return True
    else:
        return False
