@property
    def can_delete(self):
        return (
            self.parent['status'].lower() == 'drafts' or
            len(self.parent.get('files', [])) > 1
        )
Files can be deleted if private or if containing fileset contains
dataset/ETHPy150Open CenterForOpenScience/waterbutler/waterbutler/providers/figshare/metadata.py/FigshareFileMetadata.can_delete