def is_data_writable(self): """ It returns if you can write data into device """ return is_writable(self.datafile)
def is_writable(self): """ It returns if the attributes is writable """ return is_writable(self.fullpath)
def is_ctrl_writable(self): """ It returns if you can write control into device """ return is_writable(self.ctrlfile)