How to check whether there is a project open?
For example, if I do the command on the menu Project -> Close Project
, I know there is no project open.
However also, could not have any project open if the user never opened one.
Therefore how to simply call something and know for sure there are not project open?