\documentclass{article}
\usepackage{fontspec}
\ExplSyntaxOn
% For compatibility
\prg_new_eq_conditional:NNn
\fontspec_font_if_null:N
\__fontspec_font_if_null:N
{ p, T, F, TF }
\prg_set_protected_conditional:Npnn \font_if_exist:n #1 { T, F, TF }
{
\group_begin:
\font_suppress_not_found_error:
\font_set:Nnn \font_impossible { "#1" } { 10pt }
\fontspec_font_if_null:NTF \font_impossible
{ \group_end: \prg_return_false: }
{ \group_end: \prg_return_true: }
}
\cs_new_protected:Npn \font_set_fallback:nnnnn #1#2#3#4#5