[bug fixing] PTSDK-1434

fix hasService() type checking error
Merge pull request #163 from zivchang/next

[bug fixing] PTSDK-1434