public function hasStylesheetOption($stylesheetOption)
    {
        if (!is_string($stylesheetOption)) {
            throw MapException::invalidStylesheetOption();
        }

        return isset($this->stylesheetOptions[$stylesheetOption]);
    }
public function hasStylesheetOption($stylesheetOption)
    {
        if (!is_string($stylesheetOption)) {
            throw MapException::invalidStylesheetOption();
        }

        return isset($this->stylesheetOptions[$stylesheetOption]);
    }
public function hasStylesheetOption ( $ stylesheetOption ) { if ( ! is_string ( $ stylesheetOption ) ) { throw MapException :: invalidStylesheetOption ( ) ; } return isset ( $ this -> stylesheetOptions [ $ stylesheetOption ] ) ; }
Checks if the stylesheet option exists.

@param string $stylesheetOption The stylesheet option.

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

@return boolean TRUE if the stylesheet option exists else FALSE.
Checks if the stylesheet option exists .