Check for presence of `blur()` method before using it.