check to see if a partition exists