Non-throwing predicate for any of the S7 class descendants
(MemoryDaf, FilesDaf, ReadOnlyChainDaf, WriteChainDaf,
ViewDaf, ContractDaf, ...).
Value
TRUE if x inherits from DafReader, else FALSE.
Examples
is_daf(memory_daf())
#> [1] TRUE
is_daf(NULL)
#> [1] FALSE