File size: 230 Bytes
2e2e678
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import io


def is_coral():
    try:
        with io.open('/sys/firmware/devicetree/base/model', 'r') as m:
            if 'phanbell' in m.read().lower(): return True
    except Exception: pass
    return False


ADS = is_coral()