public <V>boolean hasMeta(int key,V val){
  Object v=meta(key);
  return v != null && v.equals(val);
}

public < V > boolean hasMeta ( int key , V val ) { Object v = meta ( key ) ; return v != null && v . equals ( val ) ; }
tests whether or not given metadata is set .
