code: private boolean isDismissable(final int position) {
          if (mListViewWrapper.getAdapter() == null) {
              return false;
          }
  
          if (mDismissableManager != null) {
              long downId = mListViewWrapper.getAdapter().getItemId(position);
              return mDismissableManager.isDismissable(downId, position);
          }
          return true;
      }
docs: Finds out whether the item represented by given position is dismissable.
  
  @param position the position of the item.
  
  @return {@code true} if the item is dismissable, false otherwise.