you can use isNothing(dtYourTable) this will return you a Boolean.
isNothing(dtYourTable)
This other post should help you as well: