Solution: The forging status can be easily checked by using the provided API route:
curl \
http://127.0.0.1:7000/api/node/status/forging \
-H 'cache-control: no-cache' \
-H 'content-type: application/json'
The full reference can be found in the Lisk Core API docs.