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

has_module() public method

Checks if the module with the given ID has been registered.
Since: 3.0.0
public has_module ( string $id ) : boolean
$id string Module ID.
return boolean Whether or not the module with the given ID has been registered.
    public function has_module($id)
    {
        return isset($this->modules[$id]);
    }