let dom n a = let s = get_context n in let a' = Context.can s a in try Some(Context.dom s a') with Not_found -> None