'Check if this instance is a public key.
@return: C{True} if this is a public key.'

def isPublic(self):

    return isinstance(self._keyObject, (rsa.RSAPublicKey, dsa.DSAPublicKey, ec.EllipticCurvePublicKey))
