How to detect whether a Magento 2 site works on the Enterprise or Community Edition

If you need to figure out if your site is working on Enterprise or Community edition, the fastest way to do so, is going through the following:

you will get for example:

Magento/2.2 (Community) For community editions or Magento/2.2 (Enterprise) for enteterprise editions.