def get_banks(self):
<EOL>if self._catalog_session is not None:<EOL><INDENT>return self._catalog_session.get_catalogs()<EOL><DEDENT>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>result = collection.find().sort('<STR_LIT>', DESCENDING)<EOL>return objects.BankList(result, runtime=self._runtime, proxy=self._proxy)<EOL>
Gets all ``Banks``.

        In plenary mode, the returned list contains all known banks or
        an error results. Otherwise, the returned list may contain only
        those banks that are accessible through this session.

        return: (osid.assessment.BankList) - a ``BankList``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure occurred
        *compliance: mandatory -- This method must be implemented.*