src/Valkyrja/Console/Input/NativeInput.php
public function hasOption(string $option): bool
    {
        return $this->hasShortOption($option) || $this->hasLongOption($option);
    }
public function hasOption(string $option): bool
    {
        return $this->hasShortOption($option) || $this->hasLongOption($option);
    }
Check if an option exists (long or short).

@param string $option The option

@return bool