partition_parser: Add gpt_exist function

The new function is used to check if the partition table is GPT

Change-Id: I19dabbe5b756faa3be841407d05ddc23c2914e08
2 files changed