Adding an explicit check that value is defined in
isThennable.