def METHOD_NAME(disk_index):
    """
    Check the disk is gpt labletype.
    """
    cmd = "echo list disk > {0} && diskpart /s {0} && del {0}"
    pattern = r'Disk %s.+?B.{8}\*' % disk_index
    return re.search(pattern, session.cmd_output(cmd.format("test.dp")))