def exists_file(self, filepath):
        """
        Check if the file exits on the device

        Args:
            filepath: path to the file

        Returns:
            True or False if file found or not

        """
        try:
            out = self.shell("ls \"%s\"" % filepath)
        except (AdbShellError, AdbError):
            return False
        else:
            return not ("No such file or directory" in out)

        Check if the file exits on the device

        Args:
            filepath: path to the file

        Returns:
            True or False if file found or not

        
airtest/core/android/adb.py