text: 
  // [TOSCA-Simple-Profile-YAML-v1.3] @ 3.6.3
  // [TOSCA-Simple-Profile-YAML-v1.2] @ 3.6.3
  // [TOSCA-Simple-Profile-YAML-v1.1] @ 3.5.2
  // [TOSCA-Simple-Profile-YAML-v1.0] @ 3.5.2
  
  const tosca = require('tosca.lib.utils');
  
  exports.validate = function(v, length) {
  	if (arguments.length !== 2)
  		throw 'must have 1 argument';
  	return tosca.getLength(v) <= length;
  };
  