src/Map.php
public function hasMapOption($mapOption)
    {
        if (!is_string($mapOption)) {
            throw MapException::invalidMapOption();
        }

        return isset($this->mapOptions[$mapOption]);
    }
public function hasMapOption($mapOption)
    {
        if (!is_string($mapOption)) {
            throw MapException::invalidMapOption();
        }

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

@param string $mapOption The map option.

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

@return boolean TRUE if the map option exists else FALSE.