@utilities.arguments_not_none<EOL><INDENT>def is_ancestor_of_objective_bank(self, id_, objective_bank_id):<DEDENT>
<EOL>if self._catalog_session is not None:<EOL><INDENT>return self._catalog_session.is_ancestor_of_catalog(id_=id_, catalog_id=objective_bank_id)<EOL><DEDENT>return self._hierarchy_session.is_ancestor(id_=id_, ancestor_id=objective_bank_id)<EOL>
Tests if an ``Id`` is an ancestor of an objective bank.

        arg:    id (osid.id.Id): an ``Id``
        arg:    objective_bank_id (osid.id.Id): the ``Id`` of an
                objective bank
        return: (boolean) - ``true`` if this ``id`` is an ancestor of
                ``objective_bank_id,`` ``false`` otherwise
        raise:  NotFound - ``objective_bank_id`` is not found
        raise:  NullArgument - ``id`` or ``objective_bank_id`` is
                ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*
        *implementation notes*: If ``id`` not found return ``false``.