See dojo.data.api.Read.isItem()
if(something && something.store && something.store === this){ return true; //boolean } return false; //boolean