Ubuntu firewall relevance

Hi, I’m trying to check if my ubuntu 18.04.6 firewall is running

I tried couple of relevances without success:

Exists process “ufw” - shows false but its there when checking with the process list

Exists service “ufw” - also shows false

I also want to check if 52311 udp is opened there but couldn’t find anything.

Can you asist? Thanks