public static boolean verifyDestination(String destination,String location){
  return ((location != null) && (location.length() != 0) && (destination != null)&& (destination.length() != 0)&& (location.equalsIgnoreCase(destination)));
}

public static boolean verifyDestination ( String destination , String location ) { return ( ( location != null ) && ( location . length ( ) != 0 ) && ( destination != null ) && ( destination . length ( ) != 0 ) && ( location . equalsIgnoreCase ( destination ) ) ) ; }
compares the destination and location
