add ``only_if`` arguemnt to Element

* if provided, the callable will be used to check the validity of the
element upto the timeout. This can be used to wait on elements who's
values might change.