public function noTraitDefinition() { $this->addMethod('where(__.in("DEFINITION").hasLabel("Trait").count().is(eq(0)))'); return $this; }