Question: Tagalog is what kind of language?

Is "Similarly, Philippine languages such as Tagalog have some Sanskrit loanwords, although more are derived from Spanish." the correct answer?
Available options:
(a). yes.
(b). no.
(a).