Tests if an array of DatasourceInfos has a given item and layer id already.
Array of DatasourceInfos to evaluate
The items id to check for
The layers id to check for
Boolean indicating result
Tests if an array of DatasourceInfos has a given item and layer id already.