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
def is_import ( self ) : return not self . cmd and len ( self . deps ) == 1 and len ( self . outs ) == 1
Whether the stage file was created with `dvc import`.