This command will show you whether firewalld is active (running) and whether it's set to start automatically at boot.
firewalld
sudo systemctl status firewalld