pubspecYamlHasAnyDependencies function
True if the pubspec.yaml has any of the dependencies
Implementation
bool pubspecYamlHasAnyDependencies(Map yaml, List<String> dependencies) {
for (var dependency in dependencies) {
if (_hasDependency(yaml, dependency)) {
return true;
}
}
return false;
}