Check for terms in doc sidebar