is there any way to verify cell phone accepts otg cable

I’m looking for some usb plugin or something, to know how to check if the phone supports otg cable, to save file directly on the pendrive.
Anyone know if there is any way to do this with ionic ??
if there is a plugin that I can do this?
thank you

If your phone was released in the last 3 years. You can almost guarantee your phone will support it.