boolean isHidden(View view){
  return mHiddenViews.contains(view);
}

boolean isHidden ( View view ) { return mHiddenViews . contains ( view ) ; }
returns whether a view is visible to layoutmanager or not .
