code: public Optional<Project> getOptionalProject(Object projectIdOrPath) {
          try {
              return (Optional.ofNullable(getProject(projectIdOrPath)));
          } catch (GitLabApiException glae) {
              return (GitLabApi.createOptionalFromException(glae));
          }
      }
docs: Get an Optional instance with the value for the specific project, which is owned by the authentication user.
  
  <pre><code>GET /projects/:id</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @return an Optional instance with the specified project as a value