hasXXX functions in NameTable.Scope