tests has() working

renamed isId to isRegexId and moved out of Gremlin object