<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_handleable(self, device):
 # TODO: handle pathes in first argument """ Check whether this device should be handled by udiskie. :param device: device object, block device path or mount path :returns: handleability Currently this just means that the device is removable and holds a filesystem or the device is a LUKS encrypted volume. """

        ignored = self._ignore_device(device)
        # propagate handleability of parent devices:
        if ignored is None and device is not None:
            return self.is_handleable(_get_parent(device))
        return not ignored