exists of DataCollection, Methods Webix Docs

StartAPI ReferenceMixinsDataCollectionMethods

checks whether an item with the specified ID exists

boolean exists(number|string id);

id