indexOfObject(aArray, oObject) {
			return aArray.findIndex((oArrayObject) => {
				return isEqual(oArrayObject, oObject);
			});
		}
Checks if an object is in an array or not and returns the index or -1

@param {object[]} aArray Array of objects
@param {object} oObject object that should be part of the array
@returns {int} Returns the index of the object in the array, -1 if it is not in the array

@private
@ui5-restricted sap.ui.fl