Do prime numbers still function as primes in any base?

Yes but you should really be doing your homework yourself. It’s the only way you’ll learn.