You don't need the boolean - delete is safe on NULL objects.