Easy way to hide current users pages from pagelist?

Hi folks, I need to hide the current users pages (i.e. pages where the author is the current user) from a pagelist.

We can do this to filter pages to be just the ones by the current author:

$pl->filterByUserID($uID);

But I want to do the opposite and show all pages from other authors, excluding the current logged in user.

Something like that should work:

$list = new \Concrete\Core\Page\PageList();
$qb = $list->getQueryObject();
$qb->andWhere('p.uID != :uID');
$qb->setParameter('uID', $uID);
$pages = $list->getResults();

Yes that works well, thank you!