For checking if a DataScope is a single-item scope without loading any data, DataScope#isDataItem is available.
For checking if a DataScope is a single-item scope without loading any data, DataScope#isDataItem is available.
Returns
DataItem or null – DataItem if the DataScope is a single-item scope, its corresponding data item exists and is loaded, otherwise null.