ensure the license is comparable against a string