code: public Optional<Group> getOptionalGroup(Object groupIdOrPath) {
          try {
              return (Optional.ofNullable(getGroup(groupIdOrPath)));
          } catch (GitLabApiException glae) {
              return (GitLabApi.createOptionalFromException(glae));
          }
      }
docs: Get all details of a group as an Optional instance.
  
  <pre><code>GitLab Endpoint: GET /groups/:id</code></pre>
  
  @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path
  @return the Group for the specified group path as an Optional instance