dvStudioHasStructure function
Whether a structure was captured for route in directory.
Implementation
bool dvStudioHasStructure(String? directory, String route) {
final String? name = dvStudioStructureName(route);
if (directory == null || name == null) return false;
return DVAssetSources.at(directory).file('$name.json') != null;
}