boolean (@Nullable GitRepository repository, @NotNull String localBranchName) { return shouldCheckIncomingOutgoing() && getBranchesWithOutgoing(repository).contains(new GitLocalBranch(localBranchName)); }