<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_import(self):
 """Whether the stage file was created with `dvc import`."""

        return not self.cmd and len(self.deps) == 1 and len(self.outs) == 1