Encapulate the isInternal() check.