def get_attribute(self, name):
assert isinstance(name, basestring)<EOL>value = None<EOL>if self.__attributes and name in self.__attributes.keys():<EOL><INDENT>value = self.__attributes[name]<EOL><DEDENT>return value<EOL>
Returns the requested SAML attribute.

:param name: Name of the attribute
:type name: string

:returns: Attribute value if exists or []
:rtype: string