Returns if both the x and y directions are snapping to the grid.
        
        :return     <bool>

def isSnappedToGrid( self ):
        """
        Returns if both the x and y directions are snapping to the grid.
        
        :return     <bool>
        """
        shift = QtCore.QCoreApplication.keyboardModifiers() == QtCore.Qt.ShiftModifier
        return (self._xSnapToGrid and self._ySnapToGrid) or shift