예제 #1
0
 def is_data_readable(self):
     """
     It returns if you can read data from device
     """
     return is_readable(self.datafile)
예제 #2
0
 def is_readable(self):
     """
     It returns if the attribute is readable
     """
     return is_readable(self.fullpath)
예제 #3
0
 def is_ctrl_readable(self):
     """
     It returns if you can read control from device
     """
     return is_readable(self.ctrlfile)