This returns TRUE if x has ancestor among its parents.

env_inherits(env, ancestor)

## Arguments

env An environment. Another environment from which x might inherit.