def _exclude_disk(self, device, file_system, mount_point):
        """
        Return True for disks we don't want or that match regex in the config file
        """
        self.log.debug('_exclude_disk: {}, {}, {}'.format(device, file_system, mount_point))

        if not device or device == 'none':
            device = None

            # Allow no device if `all_partitions` is true so we can evaluate mount points
            if not self._all_partitions:
                return True

        # Hack for NFS secure mounts
        # Secure mounts might look like this: '/mypath (deleted)', we should
        # ignore all the bits not part of the mount point name. Take also into
        # account a space might be in the mount point.
        mount_point = mount_point.rsplit(' ', 1)[0]

        return self._partition_blacklisted(device, file_system, mount_point) or not self._partition_whitelisted(
            device, file_system, mount_point
        )
Return True for disks we don't want or that match regex in the config file