Check if the string is one of the SPDX license identifiers