function indexed( arr, prop, value ) {
	var v;
	var i;
	if ( value === void 0 ) {
		for ( i = 0; i < arr.length; i++ ) {
			v = arr[ i ];
			if ( hasProp( v, prop ) && v[ prop ] === value ) {
				return true;
			}
		}
		return false;
	}
	for ( i = 0; i < arr.length; i++ ) {
		if ( arr[ i ][ prop ] === value ) {
			return true;
		}
	}
	return false;
}
Tests whether at least one element in a provided indexed array has a specified property key-value pair, either own or inherited.

@private
@param {Collection} arr - input array
@param {(string|symbol|number)} prop - property
@param {*} value - property value
@returns {boolean} result

@example
var o1 = {
    'a': 1
};
var o2 = {
    'b': 2
};
var o3 = {
    'c': 3
};

var bool = indexed( [ o1, o2, o3 ], 'b', 2 );
// returns true

bool = indexed( [ o1, o2, o3 ], 'b', 3 );
// returns false

bool = indexed( [ o1, o2, o3 ], 'd', 0 );
// returns false