Intended for internal use only, this function is used in diffnet_index
methods.
diffnet_check_attr_class(value, meta)
The value object either as a data frame (if static) or as a list
of data frames (if dynamic). If value
does not follows the permitted
types of diffnet_index
, then returns with error.