boolean () { return GitVersionSpecialty.PRE_PUSH_HOOK.existsIn(myVcs) && getRepositoryManager() .getRepositories() .stream() .map(e -> e.getInfo().getHooksInfo()) .anyMatch(GitHooksInfo::isPrePushHookAvailable); }