public boolean hasVariants(){
  return mVariants != null && !mVariants.isEmpty();
}

public boolean hasVariants ( ) { return mVariants != null && ! mVariants . isEmpty ( ) ; }
checks whether any variants are contained .
