def has_principal_point(self):
        """Return wether the principal point has been defined or not."""
        cx_zero = np.isclose(self._calibration_mat[0][2], 0.0)
        cy_zero = np.isclose(self._calibration_mat[1][2], 0.0)
        initialized = (not cx_zero) and (not cy_zero)
        return initialized
Return wether the principal point has been defined or not.
photogrammetry_importer/types/camera.py