dcase_util.files.RemoteFile.is_content_type

RemoteFile.is_content_type(content_type)[source]

Check that file contains given type of content

Parameters
content_typestr or list

Content type

Returns
bool