Gets the list of ``Book`` objects mapped to a ``Comment``.

        arg:    comment_id (osid.id.Id): ``Id`` of a ``Comment``
        return: (osid.commenting.BookList) - list of books
        raise:  NotFound - ``comment_id`` is not found
        raise:  NullArgument - ``comment_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*

def get_books_by_comment(self, comment_id):
        """Gets the list of ``Book`` objects mapped to a ``Comment``.

        arg:    comment_id (osid.id.Id): ``Id`` of a ``Comment``
        return: (osid.commenting.BookList) - list of books
        raise:  NotFound - ``comment_id`` is not found
        raise:  NullArgument - ``comment_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*

        """
        # Implemented from template for
        # osid.resource.ResourceBinSession.get_bins_by_resource
        mgr = self._get_provider_manager('COMMENTING', local=True)
        lookup_session = mgr.get_book_lookup_session(proxy=self._proxy)
        return lookup_session.get_books_by_ids(
            self.get_book_ids_by_comment(comment_id))