Function to check if a sample is phased. A sample is phased if it contains '|' between the genotype. This checks for '/' as a haploid sample will be considered phased.