public function addMethod(CNabuPHPMethodBuilder $method) : bool
    {
        $retval = false;
        $name = $method->getName();

        if (!array_key_exists($name, $this->method_list)) {
            $this->method_list[] = $method;
            $retval = true;
        }

        return $retval;
    }