Removes the tag.

@param tagName the tag name
@return true, if successful
771136
public boolean removeTag(String tagName) {
    boolean result = false;
    IFD ifd = firstIFD;
    while (ifd != null) {
      if (ifd.containsTagId(TiffTags.getTagId(tagName))) {
        ifd.removeTag(tagName);
      }
      ifd = ifd.getNextIFD();
    }
    createMetadataDictionary();
    return result;
  }
108725
public static function remove(Tag &$Tag)
    {
        if (Config::get('store') == 'global' && isset(self::$_tagStore[$Tag->ID])) {
            unset(self::$_tagStore[$Tag->ID]);
        } elseif (Config::get('store') == 'internal'
            && isset(Config::getHTMLInstance()->tagStore[$Tag->ID])
        ) {
            unset(Config::getHTMLInstance()->tagStore[$Tag->ID]);
        }
    }
525188
function() {
			var tag = this.tag;

			if (!tag) { return false; }

			this.unbind();
			if (tag.parentNode) { tag.parentNode.removeChild(tag); }

			delete this.tag;
			return true;
		}
1073833
public function removeByTag($tag)
    {
        $tags = (is_array($tag) ? $tag : array($tag));
        try {
            foreach ($tags as $tag) {
                $this->removeTag($tag);
            }
        } catch (\Exception $e) {
            $this->log('warning', \sprintf('Unable to delete cache for tag(s) %s : %s', \implode(',', $tags), $e->getMessage()));

            return false;
        }

        return true;
    }
485941
public boolean removeBusHub(String name) {
		Iterator<BusHub> iterator;
		BusHub busHub;

		iterator = this.validBusHubs.iterator();
		while (iterator.hasNext()) {
			busHub = iterator.next();
			if (name.equals(busHub.getName())) {
				iterator.remove();
				busHub.setContainer(null);
				busHub.setEventFirable(true);
				firePrimitiveChanged(new BusChangeEvent(this,
						BusChangeEventType.HUB_REMOVED,
						busHub,
						-1,
						null,
						null,
						null));
				checkPrimitiveValidity();
				return true;
			}
		}

		iterator = this.invalidBusHubs.iterator();
		while (iterator.hasNext()) {
			busHub = iterator.next();
			if (name.equals(busHub.getName())) {
				iterator.remove();
				busHub.setContainer(null);
				firePrimitiveChanged(new BusChangeEvent(this,
						BusChangeEventType.HUB_REMOVED,
						busHub,
						-1,
						null,
						null,
						null));
				checkPrimitiveValidity();
				return true;
			}
		}

		return false;
	}
1316460
public boolean isTagPresent(String tagName) {

        Tag[] tags = getTagMap().get(tagName);
        return (tags != null && tags.length > 0);
    }
641829
def remove_tag(tag_id):
        '''
        
        '''
        entry = TabPost2Tag.delete().where(
            TabPost2Tag.tag_id == tag_id
        )
        entry.execute()
377056
public boolean isTagPresent(String tagName) {

        boolean tagPresent = false;

        if (mReadMethod != null) {
            tagPresent = mReadMethod.isTagPresent(tagName);
        }
        if (!tagPresent && mWriteMethod != null) {
            tagPresent = mWriteMethod.isTagPresent(tagName);
        }

        return tagPresent;
    }
268758
public boolean addPreserveTag(final String tagName) {

        Vector<Attribute> attributeList = new Vector<Attribute>(1);
        Attribute tagNameAttribute = new Attribute();
        tagNameAttribute.setName(tagName.toLowerCase());
        attributeList.add(tagNameAttribute);
        Tag keepTag = m_nodeFactory.createTagNode(null, 0, 0, attributeList);
        boolean result = m_nodeFactory.addTagPreserve(keepTag);
        return result;
    }
859240
def tag_delete(self, tag):
        
        if tag:
            if self.__git_tag_delete(tag):
                return True
            return False

        if self.__git_tag_delete(self.get_latest_tag()):
            return True
        return False
523460
public function removeTag($tag)
    {
        if (is_array($tag))
        {
            foreach ($tag as $t)
            {
                if (isset($this->allowed_tags[$t]))
                    unset($this->allowed_tags[$t]);
                $this->remove_tags[$t] = true;
            }
        }
        else
        {
            if (isset($this->allowed_tags[$tag]))
                unset($this->allowed_tags[$tag]);
            $this->remove_tags[$tag] = true;
        }
        return $this;
    }
1229194
public static Element removeScriptTags(Element element) {

        NodeList<Element> scriptTags = element.getElementsByTagName(Tag.script.name());
        // iterate backwards over list to ensure all tags get removed
        for (int i = scriptTags.getLength() - 1; i >= 0; i--) {
            scriptTags.getItem(i).removeFromParent();
        }
        return element;
    }
1191801
public function deleteByTags($tag)
    {
        if (!isset($this->tags[$tag])) {
            return false;
        }

        foreach ($this->tags[$tag] as $key) {
            $this->delete($key);
        }

        return true;
    }
477653
public function removeLast(string $tagName) : bool
    {
        $index = $this->findLastIndex($tagName);
        if ($index === -1) {
            return false;
        }

        $this->removeAt($index);
        return true;
    }
777438
public String getTagValue(String tagName) {

        Tag[] tags = getTagMap().get(tagName);
        if (tags == null || tags.length == 0) {
            return null;
        }

        return tags[tags.length - 1].getText();
    }
244388
public function isSelfClosingTag($tagName)
    {
        return in_array($tagName, self::$SELF_CLOSING_TAGS, true) || (boolean)$this->fusionValue('selfClosingTag');
    }
662551
def remove_tag(self, *tag: str):
        
        LOGGER.info('removing tag(s) from repo: %s', tag)

        self.repo.delete_tag(*tag)