Inpsyde\MultilingualPress\Module\NetworkOptionModuleManager::is_module_active PHP Method

is_module_active() public method

Checks if the module with the given ID is active.
Since: 3.0.0
public is_module_active ( string $id ) : boolean
$id string Module ID.
return boolean Whether or not the module with the given ID is active.
    public function is_module_active($id)
    {
        return isset($this->states[$id]) && $this->states[$id];
    }