checkGPL function

Check whether the input gpl in our platform list or not