def has_undistorted_absolute_fp(self):
        """Determine if there is an absolute path to the undistorted image."""
        requirements = False
        if self.image_fp_type == Camera.IMAGE_FP_TYPE_NAME:
            requirements = (self.image_dp is not None) and (
                self._undistorted_relative_fp is not None
            )
        elif self.image_fp_type == Camera.IMAGE_FP_TYPE_RELATIVE:
            requirements = (self.image_dp is not None) and (
                self._undistorted_relative_fp is not None
            )
        elif self.image_fp_type == Camera.IMAGE_FP_TYPE_ABSOLUTE:
            requirements = self._undistorted_absolute_fp is not None

        has_fp = False
        if requirements:
            fp = self._get_absolute_fp(
                self._undistorted_relative_fp, self._undistorted_absolute_fp
            )
            if os.path.isfile(fp):
                has_fp = True
        return has_fp
Determine if there is an absolute path to the undistorted image.
photogrammetry_importer/types/camera.py