General: Introduce polyfill for str_contains() added in PHP 8.0.
PHP 8.0 introduced a new function: str_contains(). It performs a case-sensitive check indicating if given substring (needle) is contained in the string to search in (haystack).
This polyfill makes this function available for use in Core.