Who know how to check whether the floppy disk is write-protect or not?

Thanks!