def SessionVerifyKnownCnSn(self, cn, sn):
    orig_sn = self._session.GetCn(str(cn))
    # Get() returns None if the session is not found.
    # carefully check for None here so that a cn lookup with None
    # for sn value does not create a false positive.
    if orig_sn is None:
      h = 'SessionVerifyKnownCnSn(%s,%s)' % (str(cn), str(sn))
      logging.debug('%s: orig_sn is None', h)
      return False
    elif orig_sn == AuthState.OK:
      h = 'SessionVerifyKnownCnSn(%s,%s)' % (str(cn), str(sn))
      logging.debug('%s: orig_sn != AuthState.OK', h)
      return False
    elif orig_sn != sn:
      h = 'SessionVerifyKnownCnSn(%s,%s)' % (str(cn), str(sn))
      logging.debug('%s: orig_sn (%s) != sn (%s)', h, orig_sn, sn)
      return False

    return True
axis(u, v[, normalize=False]) --> VectorN
dataset/ETHPy150Open google/simian/src/simian/auth/base.py/Auth1.SessionVerifyKnownCnSn--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/util/arrays.py/axis