def is_block_device(filepath):
    mode = os.stat(filepath).st_mode
    return stat.S_ISBLK(mode)
Delete the named folder, which must be empty.
dataset/ETHPy150Open openstack/bareon/bareon/utils/hardware.py/is_block_device--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/MH.remove_folder