code: def get_attribute(self, name):
          
          assert isinstance(name, compat.str_type)
          return self.__attributes.get(name)
docs: Returns the requested SAML attribute.
  
          :param name: Name of the attribute
          :type name: string
  
          :returns: Attribute value if exists or []
          :rtype: string