Prolog: checking whether a variable is a list

I can’t find an answer online, and there’s a few programmers / computer scientists around here, so I thought I’d ask.

What is the equivalent of atomic for lists? i.e. I need to know whether the head of my list is in fact another list by checking it with something like atomic.

Thanks.

Never mind, I found it.