Checks if the requested element was written manually and maps it

@param {string} name meta tag 'name' attribute value
@returns {boolean} returns true if there is an element with the requested name
503114
function mapExistingElement(name) {
      if (metaElements[name]) {
        return true;
      }

      var element = document.getElementsByName(name)[0];

      if (!element) {
        return false;
      }

      metaElements[name] = angular.element(element);

      return true;
    }
175598
private static void checkForKeyword(String name) {
    if (KEYWORDS.contains(name) || KEYWORDS.contains(name.toUpperCase())) {
      throw new MolgenisDataException(
          "Name [" + name + "] is not allowed because it is a reserved keyword.");
    }
  }
903727
function (name) {
            var result;
            this._sources.every(function (source) {
                if (source.getName() === name) {
                    result = this._update(source);
                    return false;
                }
                return true;
            }, this);
            return result;
        }
279289
function (node, name, expected) {
    {
      if (!isAttributeNameSafe(name)) {
        return;
      }
      if (!node.hasAttribute(name)) {
        return expected === undefined ? undefined : null;
      }
      var value = node.getAttribute(name);
      if (value === '' + expected) {
        return expected;
      }
      return value;
    }
  }
1200341
function(name) {
    for(var id in this.nodes) {
      var n = this.nodes[id];
      if(n.name == name) return n;
    }
    return false;
  }
1321907
def element_href_use_wildcard(name):
    
    if name:
        element = fetch_meta_by_name(name, exact_match=False)
        return element.json
226196
public void matchStyles(String name) {
        String value = MiscUtils.getComputedStyle(box.getElement(), name);
        if (value != null) {
            try {
                // we might have a bogus value (e.g. width: -10px). we
                // just let it fail quietly.
                shadow.getElement().getStyle().setProperty(name, value);	
            }
            catch (Exception e) {
                GWT.log("Exception in matchStyles for name="+name+" value="+value, e);
            }
	}
    }
676292
static boolean isSigningRelated(String name) {
        name = name.toUpperCase(Locale.ENGLISH);
        if (!name.startsWith("META-INF/")) {
            return false;
        }
        name = name.substring(9);
        if (name.indexOf('/') != -1) {
            return false;
        }
        if (name.endsWith(".DSA")
                || name.endsWith(".RSA")
                || name.endsWith(".SF")
                || name.endsWith(".EC")
                || name.startsWith("SIG-")
                || name.equals("MANIFEST.MF")) {
            return true;
        }
        return false;
    }
1011930
function hasJavascriptHref(element) {
    if (getTagName(element) != 'a') {
        return false;
    }
    if (element.getAttribute('onclick')) {
        return false;
    }
    if (! element.href) {
        return false;
    }
    if (! /\s*javascript:/i.test(element.href)) {
        return false;
    }
    return true;
}
758948
function jsxTagName(tagName) {
  var name = tagName.toLowerCase();

  if (ELEMENT_TAG_NAME_MAPPING.hasOwnProperty(name)) {
    name = ELEMENT_TAG_NAME_MAPPING[name];
  }

  return name;
}
563379
private static InputElement createHiddenInput(String name, String value) {

        InputElement input = Document.get().createHiddenInputElement();
        input.setName(name);
        input.setValue(value);
        return input;
    }
641352
function(name, value, metaName) {
            if (_.isObject(name)) {
                _.each(name, function(value, name) {
                    this.meta(name, value);
                }, this);
                return;
            }

            if (metaName == null) metaName = "name";
            var mt = this.$('meta['+metaName+'="'+name+'"]');
            if (mt.length === 0) {
                mt =  $("<meta>", {}).attr(metaName, name).appendTo('head');
            }
            if (value != null) {
                mt.attr('content', value);
                return this;
            } else {
                return mt.attr('content');
            }
        }
647401
private boolean checkRequiredTag(IfdTags metadata, String tagName, int cardinality) {
    return checkRequiredTag(metadata, tagName, cardinality, null);
  }
233346
function (name) {
        var newName;
        if (gpf.xml.isValidName(name)) {
            return name;
        }
        // Try with a starting _
        newName = "_" + name;
        if (!gpf.xml.isValidName(newName)) {
            gpf.Error.xmlInvalidName();
        }
        return newName;
    }
612941
function checkComponentDefined (el, name) {
  // Check if element contains the component.
  if (el.components[name] && el.components[name].attrValue) { return true; }

  return isComponentMixedIn(name, el.mixinEls);
}
1055732
function node(name, attributes) {
    "use strict";
    var _node   = document.createElementNS('', name);
    for (var attrName in attributes) {
        var value = attributes[attrName];
        if (attributes.hasOwnProperty(attrName) && isString(attrName)) {
            _node.setAttribute(attrName, value);
        }
    }
    return _node;
}
616115
function(name) {
            if (typeof name === 'undefined') return this._element;
            var e = this._element.querySelector("[name='" + name + "']");
            if (!e) {
                throw new Error(
                    "[WTag.get] Can't find child [name=\""
                        + name + "\"] in element \"" + this._id + "\"!"
                );
            }
            return e;
        }