is_internet_connected

pyrcs.utils.is_internet_connected()[source]

Check the Internet connection.

Returns

whether the machine is currently connected to the Internet

Return type

bool

Examples:

>>> from pyrcs.utils import is_internet_connected

>>> is_internet_connected()