def has_private(self):
        if hasattr(self, 'x'):
            return 1
        else:
            return 0
Check to see if this entry matches a given hostname.
dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/gdata/Crypto/PublicKey/ElGamal.py/ElGamalobj.has_private--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/client/knownhosts.py/PlainEntry.matchesHost