def check_spectral_items(spec_info: dict, check_keys: list):
    """
    Check if the keys in check_keys are in spec_info
    :param spec_info: spectrum info to check
    :param check_keys: keys to check
    """
    for k in check_keys:
        if k not in spec_info:
            return False
        if spec_info[k] is None:
            return False
    return True