DataSift\Storyplayer\BrowserLib\BaseElementAction::isPluralTarget PHP Method

isPluralTarget() protected method

protected isPluralTarget ( string $targetType ) : boolean
$targetType string
return boolean
    protected function isPluralTarget($targetType)
    {
        // is this a valid target type?
        if (!isset($this->targetTypes[$targetType])) {
            throw new E5xx_UnknownDomElementType($targetType);
        }
        // is this a plural target?
        if ($this->targetTypes[$targetType] == self::PLURAL_TARGET) {
            return true;
        }
        // no, it is not
        return false;
    }