def get_composition_search_session(self):
if not self.supports_composition_search():<EOL><INDENT>raise Unimplemented()<EOL><DEDENT>try:<EOL><INDENT>from . import sessions<EOL><DEDENT>except ImportError:<EOL><INDENT>raise  <EOL><DEDENT>try:<EOL><INDENT>session = sessions.CompositionSearchSession(proxy=self._proxy,<EOL>runtime=self._runtime)<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise  <EOL><DEDENT>return session<EOL>
Gets a composition search session.

        return: (osid.repository.CompositionSearchSession) - a
                CompositionSearchSession
        raise:  OperationFailed - unable to complete request
        raise:  Unimplemented - supports_composition_search() is false
        compliance: optional - This method must be implemented if
                    supports_composition_search() is true.