Is there an easy way to see if an sd card exists?

I want to do a check to see if the user has an sd card in their system is there an easy way to do this?

There is no way to do this in lua.  If you have enterprise you can call http://developer.android.com/reference/android/os/Environment.html#getExternalStorageState%28%29.

I don’t have enterprise. I was trying to get it but it only works on Mac =/

What if I tried to write to the sd card and there wasn’t one what would happen?

There is no way to do this in lua.  If you have enterprise you can call http://developer.android.com/reference/android/os/Environment.html#getExternalStorageState%28%29.

I don’t have enterprise. I was trying to get it but it only works on Mac =/

What if I tried to write to the sd card and there wasn’t one what would happen?