Simplify inbox item check to determine type