code: function hasScope(descriptor, scope) {
  	for (let i = 0; i < descriptor.scopes.length; i++) {
  		if (descriptor.scopes[i].includes(scope)) {
  			return true;
  		}
  	}
  
  	return false;
  }
docs: Check if given scope descriptor contains given scope
  @param  {ScopeDescriptor}  descriptor
  @param  {String}  scope
  @return {Boolean}