How to always display featured entries, regardless of search results

If you would like to always show featured entries, even if the current View search would exclude the entries from being shown, you can do so by adding the following code: