Added isAvailable method for Android