modelExists method

Future<bool> modelExists(
  1. String modelId
)

Check if a model exists and is accessible

Implementation

Future<bool> modelExists(String modelId) async {
  final model = await getModel(modelId);
  return model != null;
}