<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def in_cache(self, objpath, metahash):
 """Returns true if object is cached. Args: objpath: Filename relative to buildroot. metahash: hash object """

        try:
            self.path_in_cache(objpath, metahash)
            return True
        except CacheMiss:
            return False