public static boolean isPullRequest(final Issue issue) {
        return issue != null && issue.pullRequest() != null
                && !TextUtils.isEmpty(issue.pullRequest().htmlUrl());
    }
Is the given issue a pull request?

@param issue
@return true if pull request, false otherwise
app/src/main/java/com/github/pockethub/android/core/issue/IssueUtils.java