code: public Optional<Member> getOptionalMember(Object groupIdOrPath, int userId) {
          try {
              return (Optional.ofNullable(getMember(groupIdOrPath, userId)));
          } catch (GitLabApiException glae) {
              return (GitLabApi.createOptionalFromException(glae));
          }
      }
docs: Get a group member viewable by the authenticated user as an Optional instance.
  
  <pre><code>GitLab Endpoint: GET /groups/:id/members/:id</code></pre>
  
  @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path
  @param userId the member ID of the member to get
  @return a member viewable by the authenticated user as an Optional instance