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