If you have access to the phone you can use the following Java code:

   System.getProperty("microedition.io.file.FileConnection.version");

 

 

The method above returns a String different than null if the API exists.

If you do not have the phone, you will need to search this information on the web page of the device producer.