code: public Optional<Epic> getOptionalEpic(Object groupIdOrPath, Integer epicIid) {
          try {
              return (Optional.ofNullable(getEpic(groupIdOrPath, epicIid)));
          } catch (GitLabApiException glae) {
              return (GitLabApi.createOptionalFromException(glae));
          }
      }
docs: Get an Optional instance with the value for the specific Epic.
  
  <pre><code>GitLab Endpoint: GET /groups/:id/epics/:epic_iid</code></pre>
  
  @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path
  @param epicIid the IID of the epic to get
  @return an Optional instance with the specified Epic as a value