Test electronic components with multimeter.. 50 test: HOW TO TEST
Optocoupler has many part number, different part number has different output type so before checking it has to use part number to research with datasheet and find input type and output