code: function checkRegistry(registry, key, path){
  		if (registry[key] == undefined){
  			throw new Error('Dependency not found: ' + key + ' in ' + path);
  		}
  	}
docs: verifies that an item is in the registry of components