'list unmounted (failed?) devices'

def get_unmounted(self):

    mountlist = []
    for entry in os.listdir(self.devices):
        if (not os.path.isdir(os.path.join(self.devices, entry))):
            continue
        try:
            mounted = check_mount(self.devices, entry)
        except OSError as err:
            mounted = str(err)
        mpoint = {'device': entry, 'mounted': mounted}
        if (mpoint['mounted'] is not True):
            mountlist.append(mpoint)
    return mountlist
