correctly check software_license value type