<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def isorbit_record(self):
 """`True` if `targetname` appears to be a comet orbit record number. NAIF record numbers are 6 digits, begin with a '9' and can change at any time. """


        import re
        test = re.match('^9[0-9]{5}$', self.targetname.strip()) is not None
        return test