def has_child_repositories(self, repository_id):
        """Tests if a repository has any children.

        arg:    repository_id (osid.id.Id): a repository ``Id``
        return: (boolean) - ``true`` if the ``repository_id`` has
                children, ``false`` otherwise
        raise:  NotFound - ``repository_id`` not found
        raise:  NullArgument - ``repository_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.BinHierarchySession.has_child_bins
        if self._catalog_session is not None:
            return self._catalog_session.has_child_catalogs(catalog_id=repository_id)
        return self._hierarchy_session.has_children(id_=repository_id)
def has_child_repositories ( self , repository_id ) : if self . _catalog_session is not None : return self . _catalog_session . has_child_catalogs ( catalog_id = repository_id ) return self . _hierarchy_session . has_children ( id_ = repository_id )
Tests if a repository has any children.

        arg:    repository_id (osid.id.Id): a repository ``Id``
        return: (boolean) - ``true`` if the ``repository_id`` has
                children, ``false`` otherwise
        raise:  NotFound - ``repository_id`` not found
        raise:  NullArgument - ``repository_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*