protected function hasArrayKey(array $array, array $keys): bool
    {
        foreach ($keys as $key) {
            if (array_key_exists($key, $array)) {
                return true;
            }
        }

        return false;
    }
protected function hasArrayKey(array $array, array $keys): bool
    {
        foreach ($keys as $key) {
            if (array_key_exists($key, $array)) {
                return true;
            }
        }

        return false;
    }
protected function hasArrayKey ( array $ array , array $ keys ) : bool { foreach ( $ keys as $ key ) { if ( array_key_exists ( $ key , $ array ) ) { return true ; } } return false ; }
Tell if one of the given keys exists in array.

@param array $array
@param array $keys

@return bool
Tell if one of the given keys exists in array .