public function checkGistIsStarred(string $id): bool
    {
        $this->getApi()->request($this->getApi()->sprintf('/gists/:id/star', $id));

        if ($this->getApi()->getHeaders()['Status'] == '204 No Content') {
            return true;
        }

        return false;
    }