def check_sig_name(sig_name, sigs, errors):
    """
    Check sig name
    :param sig_name: name of sig in sig-info.yaml
    :param sigs: content of all sigs
    :param errors: errors count
    :return: errors
    """
    if sig_name not in [x['name'] for x in sigs]:
        print('ERROR! sig named {} does not exist in sigs.yaml.'.format(sig_name))
        errors += 1
    return errors