parameters: (self, fname)
return_statement: return os.path.exists(backup)
docstring: Check if a given file has a backup file available or not
          @param fname: string (file path)
docstring_summary: Check if a given file has a backup file available or not
          @param fname: string (file path)
docstring_tokens: Check if a given file has a backup file available or not @param fname : string ( file path )
function: def HasBackup(self, fname):
          """Check if a given file has a backup file available or not
          @param fname: string (file path)
  
          """
          backup = self.GetBackupFilename(fname)
          return os.path.exists(backup)
function_tokens: def HasBackup ( self , fname ) : backup = self . GetBackupFilename ( fname ) return os . path . exists ( backup )