<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def artifact_cache_dir(self):
 """Note that this is unrelated to the general pants artifact cache."""

    return (self.get_options().artifact_cache_dir or
            os.path.join(self.scratch_dir, 'artifacts'))