public boolean isRepost(long itemId){
  return Arrays.binarySearch(repostCache.get(),itemId) >= 0;
}

public boolean isRepost ( long itemId ) { return Arrays . binarySearch ( repostCache . get ( ) , itemId ) >= 0 ; }
checks if the given item is a repost or not .
