code: public static boolean is_vargiya2(String str)
      {
  
          if (str.equals("K") || str.equals("C") || str.equals("W") || str.equals("T") || str.equals("P")) return true;
  
          return false;
      }
docs: *******************BEGINNING OF FUNCTION********************//