code: public MediaState getMovieAccountState(int movieId, String sessionId) throws MovieDbException {
          TmdbParameters parameters = new TmdbParameters();
          parameters.add(Param.ID, movieId);
          parameters.add(Param.SESSION_ID, sessionId);
  
          URL url = new ApiUrl(apiKey, MethodBase.MOVIE).subMethod(MethodSub.ACCOUNT_STATES).buildUrl(parameters);
          String webpage = httpTools.getRequest(url);
  
          try {
              return MAPPER.readValue(webpage, MediaState.class);
          } catch (IOException ex) {
              throw new MovieDbException(ApiExceptionType.MAPPING_FAILED, "Failed to get account state", url, ex);
          }
      }
docs: This method lets a user get the status of whether or not the movie has been rated or added to their favourite or movie watch
  list.
  
  A valid session id is required.
  
  @param movieId
  @param sessionId
  @return
  @throws MovieDbException