boolean (@Nullable Task task) { if (task == null || !task.isIssue()) { return false; } final TaskRepository repository = task.getRepository(); return repository != null && repository.isSupported(TaskRepository.STATE_UPDATING); }