add isData() to basedataclass