def Is_Gzipped(path):
    """Checks whether a file has a gzip extension or not

    Parameters
    ----------
    vcf_path : str
        location of vcf file of interest
    """
    if path.split('/').pop().split('.')[-1:][0] == 'gz':
        return True
    else:
        return False