def IsSynced(self):
        """
        Check if wallet is synced.

        Returns:
            bool: True if wallet is synced.

        """
        if Blockchain.Default().Height == 0:
            return False

        if (int(100 * self._current_height / Blockchain.Default().Height)) < 100:
            return False
        else:
            return True
def IsSynced ( self ) : if Blockchain . Default ( ) . Height == 0 : return False if ( int ( 100 * self . _current_height / Blockchain . Default ( ) . Height ) ) < 100 : return False else : return True
Check if wallet is synced.

        Returns:
            bool: True if wallet is synced.