'Is the `dataset_assoc` datatype derived from any of the registered
datatypes in the comma separated string `class_strs`?'

def isinstance_datatype(self, dataset_assoc, class_strs):

    parse_datatype_fn = self.app.datatypes_registry.get_datatype_class_by_name
    comparison_classes = []
    for class_str in class_strs.split(','):
        datatype_class = parse_datatype_fn(class_str)
        if datatype_class:
            comparison_classes.append(datatype_class)
    return (comparison_classes and isinstance(dataset_assoc.datatype, comparison_classes))
