code: public static boolean mapContainsKeys(Map<?, ?> _map, Object... _keys) {
          if (_map == null) {
              return false;
          } else if (_keys == null) {
              return true;
          }
          for (Object key : _keys) {
              if (key != null && !_map.containsKey(key)) {
                  return false;
              }
          }
          return true;
      }
docs: Checks whether a map contains all of the specified keys.
  @param _map map
  @param _keys one or more keys
  @return true if all keys found in map, false otherwise