is_spdx_license_expression
Description:
Checks the licence string to check it being a valid licence.
NOTE: SPDX licenses can't typically contain brackets.
Parameters:
license |
a SPDX license string, e.g. "CC-BY-3.0 and GFDL-1.3" |
Returns:
true if the icon is a valid "SPDX license" |
Namespace: AppStream
Package: appstream