src/Assets/AbstractOptionsAsset.php
public function hasOption($option)
    {
        if (!is_string($option)) {
            throw AssetException::invalidOption();
        }

        return isset($this->options[$option]);
    }
public function hasOption($option)
    {
        if (!is_string($option)) {
            throw AssetException::invalidOption();
        }

        return isset($this->options[$option]);
    }
Checks if the option exists.

@param string $option The option.

@throws \Ivory\GoogleMap\Exception\AssetException If the option is not valid.

@return boolean TRUE if the option exists else FALSE.