code: def ssh_check_mech(self, desired_mech):
          
          from pyasn1.codec.der import decoder
  
          mech, __ = decoder.decode(desired_mech)
          if mech.__str__() != self._krb5_mech:
              return False
          return True
docs: Check if the given OID is the Kerberos V5 OID (server mode).
  
          :param str desired_mech: The desired GSS-API mechanism of the client
          :return: ``True`` if the given OID is supported, otherwise C{False}