public static boolean isSupported(DataFlavor source,DataFlavor destination){
  if (supportedMap.isEmpty()) {
    populateSupportedMap();
  }
  List<DataFlavor> list=supportedMap.get(destination);
  if (list != null) {
    return list.contains(source);
  }
  return false;
}

public static boolean isSupported ( DataFlavor source , DataFlavor destination ) { if ( supportedMap . isEmpty ( ) ) { populateSupportedMap ( ) ; } List < DataFlavor > list = supportedMap . get ( destination ) ; if ( list != null ) { return list . contains ( source ) ; } return false ; }
checks if is supported .
