#80 added isPrivkey method