public function isExported(Pin $pin) { return file_exists(sprintf('%s/gpio%s', self::PATH_BASE, $pin->getPinNumber())); }