check_path

getmac.utils.check_path(filepath)[source]

Check if the file pointed to by filepath exists and is readable.

Parameters:

filepath (str) – absolute path of file to check

Return type:

bool

Returns:

If the filepath exists and is readable