Deletes a margin.
           Returns True if the margin was deleted and False otherwise.
195283
def delMargin(self, name):
        
        for index, margin in enumerate(self._margins):
            if margin.getName() == name:
                visible = margin.isVisible()
                margin.clear()
                margin.deleteLater()
                del self._margins[index]
                if visible:
                    self.updateViewport()
                return True
        return False
1310612
public boolean isToBeDeleted()
  {
    if (tc.isEntryEnabled())
    {
      SibTr.entry(tc, "isToBeDeleted");
      SibTr.exit(tc, "isToBeDeleted", toBeDeleted);
    }
      
    return toBeDeleted.booleanValue();
  }
170114
public boolean removeSpace() {
	int start = pos;
	while (pos < text.length && lcText[pos] == ' ') {
	    pos++;
	}
	return (start < pos);
    }
1311172
public boolean isDeleted()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
    {
      SibTr.entry(tc, "isDeleted");
      SibTr.exit(tc, "isDeleted", new Boolean(isDeleted));
    }
    return isDeleted;
  }
596454
def set_margins(self, left,top,right=-1):
        ""
        self.l_margin=left
        self.t_margin=top
        if(right==-1):
            right=left
        self.r_margin=right
1206016
public boolean delete() {
		try {
			con.getRoster().removeEntry(get());
			return true;
		} catch (XMPPException | NotLoggedInException | NoResponseException
				| NotConnectedException e) {
			e.printStackTrace();
		}
		return false;
	}
639337
def remove_exit(self):
        
        if self.items:
            if self.items[-1] is self.exit_item:
                del self.items[-1]
                return True
        return False
26625
private function isSoftDelete()
    {
        // check flag variable used in laravel 4.2+
        if (isset($this->forceDeleting)) {
            return !$this->forceDeleting;
        }

        // otherwise, look for flag used in older versions
        if (isset($this->softDelete)) {
            return $this->softDelete;
        }

        return false;
    }
931008
def delete_token(self):
        
        if self.token_path.exists():
            self.token_path.unlink()
            return True
        return False
1181674
public function delete()
    {
        if ($this->exists())
        {
            $deletedLeft = $this->left->delete();
            $deletedRight = $this->right->delete();

            return $deletedLeft && $deletedRight;
        }

        return false;
    }
1075996
def visible(self):
        
        delete = self._element.delete_
        if delete is None:
            return False
        return False if delete.val else True
1085773
def margin(self, value):
        

        if value is not None:
            assert type(value) is int, "'{0}' attribute: '{1}' type is not 'int'!".format("margin", value)
            assert value > 0, "'{0}' attribute: '{1}' need to be exactly positive!".format("margin", value)
        self.__margin = value
1362849
function remove(slides) {
      for (var i = 0, len = slides.length; i < len; i++) {
        var style = slides[i].style;

        style.marginLeft = '';
        style.marginRight = '';
      }
    }
52139
def force_delete(self):
        
        self.__force_deleting__ = True

        self.delete()

        self.__force_deleting__ = False
1207382
def is_marginable(self):
        """"""
        return self.dimension_type not in {DT.CA, DT.MR, DT.MR_CAT, DT.LOGICAL}
488831
def delete_from(self, basic_block):
        
        if basic_block is None:
            return

        if self.lock:
            return

        self.lock = True

        if self.prev is basic_block:
            if self.prev.next is self:
                self.prev.next = None
            self.prev = None

        for i in range(len(self.comes_from)):
            if self.comes_from[i] is basic_block:
                self.comes_from.pop(i)
                break

        self.lock = False
503902
public boolean removeLeadingEmptyLines()
    {
        boolean wasEmpty = false;
        Line line = this.lines;
        while (line != null && line.isEmpty)
        {
            this.removeLine(line);
            line = this.lines;
            wasEmpty = true;
        }
        return wasEmpty;
    }