def is_chrdev(name):
    '''
    Check if a file exists and is a character device.

    CLI Example: