How to find nodes without dgraph.type?

There’s no easy way, only this one:

query {
  va1 as var(func: has(pred1))
  va2 as var(func: has(pred2))
  va3 as var(func: has(pred3))
  va4 as var(func: has(pred4))
  va5 as var(func: has(pred5))
  va6 as var(func: has(pred6))
  va7 as var(func: has(pred7))
  
  node(func: uid(va1,va2,va3,va4,va5,va6,va7)) 
    @filter(NOT has(dgraph.type)) {
    uid
  }
}