<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dirs(self, paths, access=None):
 """Verify list of directories"""

        self.failures = [path for path in paths if not
                         isvalid(path, access, filetype='dir')]

        return not self.failures