code: def get_client(self, name):
          
          mech = self.get(name)
          return mech if isinstance(mech, ClientMechanism) else None
docs: Like :meth:`.get`, but only mechanisms inheriting
          :class:`ClientMechanism` will be returned.
  
          Args:
              name: The SASL mechanism name.
  
          Returns:
              The mechanism object or ``None``