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