#NEWLINE# def IsLockedScanNode( self , path_spec ) : #NEWLINE# #INDENT# 'Determines if a scan node is locked.\n\n    A locked scan node is e.g. an encrypted volume for which a credential,\n    e.g. password, to unlock the volume is not available.\n\n    Args:\n      path_spec: the path specification (instance of PathSpec)\n                 of the scan node.\n\n    Returns:\n      A boolean value indicating if the scan node is locked.\n    ' #NEWLINE# return ( path_spec in self . _locked_scan_nodes )