Check if at least one of the licenses in `license_match_objects` is good. If so, return True. Otherwise, return False.
(license_match_objects)
| 297 | |
| 298 | |
| 299 | def check_declared_licenses(license_match_objects): |
| 300 | """ |
| 301 | Check if at least one of the licenses in `license_match_objects` is good. |
| 302 | |
| 303 | If so, return True. Otherwise, return False. |
| 304 | """ |
| 305 | return any(is_good_license(license_match_object) for license_match_object in license_match_objects) |
| 306 | |
| 307 | |
| 308 | def get_field_values_from_codebase_resources( |
no test coverage detected