True if deleted, false if not found.
974179
@Override
  public boolean deleteObject(GcsFilename filename, long timeoutMillis) throws IOException {
    HTTPRequest req = makeRequest(filename, null, DELETE, timeoutMillis);
    HTTPResponse resp;
    try {
      resp = urlfetch.fetch(req);
    } catch (IOException e) {
      throw createIOException(new HTTPRequestInfo(req), e);
    }
    switch (resp.getResponseCode()) {
      case 204:
        return true;
      case 404:
        return false;
      default:
        throw HttpErrorHandler.error(new HTTPRequestInfo(req), resp);
    }
  }
1310612
public boolean isToBeDeleted()
  {
    if (tc.isEntryEnabled())
    {
      SibTr.entry(tc, "isToBeDeleted");
      SibTr.exit(tc, "isToBeDeleted", toBeDeleted);
    }
      
    return toBeDeleted.booleanValue();
  }
782762
public static boolean deleteDir(Path targetDirPath) {
        debug(log, "deleteDir", targetDirPath);
        return deleteBulkThenFalseList(
                JMCollections.getReversed(JMPath.getSubPathList(targetDirPath)))
                .size() == 0 && delete(targetDirPath);
    }
77518
public boolean isToBeDeleted()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        {
            SibTr.entry(tc, "isToBeDeleted");
            SibTr.exit(tc, "isToBeDeleted", Boolean.valueOf(toBeDeleted));
        }

        return toBeDeleted;
    }
301680
public boolean isDeleted(Cell cell)
    {
        int idx = searchInternal(cell.name(), 0);
        // No matter what the counter cell's timestamp is, a tombstone always takes precedence. See CASSANDRA-7346.
        return idx >= 0 && (cell instanceof CounterCell || markedAts[idx] >= cell.timestamp());
    }
1175467
public boolean isDeleted(DbEntity dbEntity) {
    CachedDbEntity cachedDbEntity = getCachedEntity(dbEntity);
    if(cachedDbEntity == null) {
      return false;
    } else {
      return cachedDbEntity.getEntityState() == DELETED_MERGED
          || cachedDbEntity.getEntityState() == DELETED_PERSISTENT
          || cachedDbEntity.getEntityState() == DELETED_TRANSIENT;
    }
  }
513697
async function validateDeleted (args) {
    try {
        var deletedTable = await this.mysql().query(
            sql.showCreateTable({name: `${this.name}Delete`}), {}, {}, args.session
        )
    }
    // exception will be thrown if table does not exist
    catch (err) {
        return
    }
    // get deleted records
    const [ results ] = await this.mysql().query(sql.selectDeleted(this))
    debug(`checking ${results.length} deleted records`)
    // check each record and delete if needed
    for (const result of results) {
        // load current record
        var record = await this.query({
            allow: true,
            cache: false,
            current: true,
            one: true,
            session: args.session,
            where: { id: result.id }
        })
        // skip if record not found
        if (!defined(record)) {
            continue
        }
        // skip if id does not match
        if (record.id !== result.id) {
            continue
        }
        // skip if record already deleted
        if (record.isDeleted) {
            continue
        }
        debug(`deleting ${record.id}`)
        // delete record
        await record.delete({allow: true, cache: false})
    }
}
579205
public function isDelete() {
		if ( isset( $_SERVER['REQUEST_METHOD'] ) ) {

			if ( $_SERVER['REQUEST_METHOD'] == 'DELETE' || ( isset( $_POST['_METHOD'] ) && $_POST['_METHOD'] == 'DELETE' ) ) {
				parse_str( file_get_contents( "php://input" ), $vars );

				if ( isset( $vars['_METHOD'] ) ) {
					unset( $vars['_METHOD'] );
				}

				$GLOBALS['_DELETE'] = $_DELETE = $vars;

				return TRUE;
			} else {
				return FALSE;
			}

		} else {
			return FALSE;
		}

	}
620621
@Override
    public boolean isRemoved() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "isRemoved : false");
        return false;
    }
387609
def delete_if_exists(self, **kwargs):
        
        try:
            self.get(**kwargs).blocking_delete()
            return True
        except ObjectDoesNotExist:
            return False
445378
public boolean isDeleted() {
        boolean deleted = true;
        for (PolylineMarkers polyline : polylineMarkers) {
            deleted = polyline.isDeleted();
            if (!deleted) {
                break;
            }
        }
        return deleted;
    }
69172
def founditem_delete_view(request, item_id):
    
    if request.method == "POST":
        try:
            a = FoundItem.objects.get(id=item_id)
            if request.POST.get("full_delete", False):
                a.delete()
                messages.success(request, "Successfully deleted found item.")
            else:
                a.found = True
                a.save()
                messages.success(request, "Successfully marked found item as found!")
        except FoundItem.DoesNotExist:
            pass

        return redirect("index")
    else:
        founditem = get_object_or_404(FoundItem, id=item_id)
        return render(request, "lostfound/founditem_delete.html", {"founditem": founditem})
240074
public function setToDeleted()
    {
        if ($this->isLoaded()) {
            $this->data['deleted'] = true;
            $this->markAsDirty();
        } else {
            $this->markAsDead();
        }
    }
696171
protected static void checkDeleted(final Resource res, final String identifier) {
       if (RdfUtils.isDeleted(res)) {
            throw new WebApplicationException(status(GONE)
                    .links(MementoResource.getMementoLinks(identifier, res.getMementos())
                    .toArray(Link[]::new)).build());
        }
    }
627066
def deleted(message):
    """"""

    def deleted(value, _context, **_params):
        return Deleted(value, message)

    return deleted
569049
final public function isDeleted() {
        foreach ($this->dao()->getMapping()['properties'] as $name => $property) {
            if (isset($property['soft-delete']) && $property['soft-delete']===true) {
                return ($this->$name !== null);
            }
        }
        return false;
    }
1124904
public function isDeleted()
	{
		if (!array_key_exists('state', $this->_tbl->getFields()))
		{
			return false;
		}
		if ($this->get('state') == self::APP_STATE_DELETED)
		{
			return true;
		}
		return false;
	}