def not_exonic(variant_class):
    """Check if SNV is exonic.

    Args:
        variant_class: the type of mutation

    Returns:
        True for not exonic, False otherwise.

    """
    variant_classes = ["5'Flank", 'Intron', 'RNA', "3'Flank", "3'UTR", "5'UTR", 'IGR']

    if variant_class in variant_classes:
        return False
    else:
        return True