symbol = $value; if (MarketData::find($this->symbol)) { return; } // Check if the symbol exists in the Market Data table first (avoid API call) if (!app(MarketDataInterface::class)->exists($value)) { $fail('The symbol provided (' . $this->symbol . ') is not valid'); } } }