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