/** * Check if a gist is starred * * @param gistId * @return true if starred, false if not starred * @throws IOException */ public boolean isStarred(String gistId) throws IOException { checkGistId(gistId); StringBuilder uri = new StringBuilder(SEGMENT_GISTS); uri.append('/').append(gistId); uri.append(SEGMENT_STAR); return check(uri.toString()); }