code: public static Boolean isDeleted(final Resource res) {
          return LDP.Resource.equals(res.getInteractionModel()) && res.getTypes().contains(DeletedResource);
      }
docs: Check if the resource has a deleted mark
  @param res the resource
  @return true if the resource has been deleted; false otherwise