def hasUpdated(self):
        '''Checking file attribute lessens file blocking of read'''
        self.prev_mtime = self.mtime
        self.mtime = os.stat(self.clipboard_fn).st_mtime # last time clipboard_fn modified
        return self.mtime != self.prev_mtime
Checking file attribute lessens file blocking of read
recipes/Python/576887_Shared_Clipboard/recipe-576887.py