Check whether there are resources available with resourceCount()
Not with the very expensive resources() method