# Functions
Enabled checks to see if filebeat/metricbeat is running under Agent The management setting is stored in the main Beat runtime object, but we can't see that from a module So instead we check the CLI flags, since Agent starts filebeat/metricbeat with "-E", "management.enabled=true".