function some_instances_are_valid (scope) {
  var instance_count = scope.get_instance_count();
  for (var i = 0; i < instance_count; ++i) {
    if (instance_is_valid(scope.get_instance(i))) return true;
  }
  return false;
}
/**
 * Check if there is at least one scope instance that can be inlined
 * @param {Scope} scope
 * @returns {boolean}
 */
Check if there is at least one scope instance that can be inlined
@param {Scope} scope
@returns {boolean}
Check if there is at least one scope instance that can be inlined @param { Scope } scope @returns { boolean }
function some_instances_are_valid (scope) {
  var instance_count = scope.get_instance_count();
  for (var i = 0; i < instance_count; ++i) {
    if (instance_is_valid(scope.get_instance(i))) return true;
  }
  return false;
}
function some_instances_are_valid ( scope ) { var instance_count = scope . get_instance_count ( ) ; for ( var i = 0 ; i < instance_count ; ++ i ) { if ( instance_is_valid ( scope . get_instance ( i ) ) ) return true ; } return false ; }
Check if there is at least one scope instance that can be inlined
 @param {Scope} scope
 @returns {boolean}
Check if there is at least one scope instance that can be inlined @param { Scope } scope @returns { boolean }