I created a simple verification adding on the admin panel a select to enable or disable, but I want to add a verification to check if my module output is enabled, how can I do that?
Today I'm using this code on my module:
public function isEnable(){
return $this->getConfig('general/enabled');
}