is_blockdev(path) returns true if path points an existing block device node. If path is a symbolic link, it will be followed.
is_chardev, is_directory, is_fifo, is_file, is_socket, is_symlink