def check_destination(self, *args, **kwargs):
if not os.path.exists(self.parent_dir):<EOL><INDENT>mkdir_p(self.parent_dir)<EOL><DEDENT>else:<EOL><INDENT>if not os.path.exists(self.path):<EOL><INDENT>self.debug(<EOL>'<STR_LIT>' % (self.name, self.path)<EOL>)<EOL>mkdir_p(self.path)<EOL><DEDENT><DEDENT>return True<EOL>
Assure destination path exists. If not, create directories.