private function maybeLoadChoices(): bool
    {
        if (! $this->isLoaded()) {
            $callback = $this->callback;
            $this->choices = $callback();
            $this->isLoaded = true;

            return true;
        }

        return false;
    }
private function maybeLoadChoices(): bool
    {
        if (! $this->isLoaded()) {
            $callback = $this->callback;
            $this->choices = $callback();
            $this->isLoaded = true;

            return true;
        }

        return false;
    }
private function maybeLoadChoices ( ) : bool { if ( ! $ this -> isLoaded ( ) ) { $ callback = $ this -> callback ; $ this -> choices = $ callback ( ) ; $ this -> isLoaded = true ; return true ; } return false ; }
Internal function to ensure, that the choices are loaded the right time.

@return bool
Internal function to ensure that the choices are loaded the right time .