isMatrixProject ought to handle nulls, just in case.