public function endsWith($endsWith, $caseSensitive = false)
    {
        if (! $caseSensitive) {
            return strtolower($this->last()) === strtolower($endsWith);
        }

        return $this->last() === $endsWith;
    }